The result is correct, but human-friendly. How to reproduce: In [0]: frequency_to_string(frequency_to_timedelta('30h')) Out[0]: '108000s' Expected result Out[0]: '30h' Proposed solution: `frequency_to_string()` can be adapted.