If I create a negative Timedelta
for e.g. 0.5 hours, the internal representation looks as follow:
In [2]: pd.Timedelta('-0.5h')
Out[2]: Timedelta('-1 days +23:30:00')
How can I get back a (str
) representation of this Timedelta
in the form -00:30
?
I want to display these deltas and requiring the user to calculate the expression -1 day + something is a bit award.