timeatlas.time_series.TimeSeries.sort

TimeSeries.sort(*args, **kwargs)

Sort a TimeSeries by time stamps

Basically, it’s a wrapper around df.sort_index() see: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.sort_index.html

Parameters
  • args – the positional arguments

  • kwargs – the keyword arguments

Returns

TimeSeries