Get total number of hours from a Pandas Timedelta? March 9, 2023 by Tarik Just find out how many timedeltas of 1 hour fit into it: import numpy as np >> td / np.timedelta64(1, 'h') 26.0