Here’s an interactive example of calculating the number of hours between 2 intervals using Pandas.