is there a way to say that '13Min' is > '59S' and <'2H' using the frequency notation in pandas?
is there a way to say that '13Min' is > '59S' and <'2H' using the frequency notation in pandas?
In [4]: from pandas.tseries.frequencies import to_offsetIn [5]: to_offset('59s') < to_offset('1T')
Out[5]: TrueIn [6]: to_offset('13T') > to_offset('59s')
Out[6]: TrueIn [7]: to_offset('13T') < to_offset('59s')
Out[7]: FalseIn [8]: to_offset('13T') > to_offset('2H')
Out[8]: FalseIn [10]: to_offset('13T') < to_offset('2H')
Out[10]: True