timeatlas.time_series_dataset.TimeSeriesDataset.sort

TimeSeriesDataset.sort(*args, **kwargs) → timeatlas.time_series_dataset.time_series_dataset.TimeSeriesDataset

Sort the TimeSeries of a TimeSeriesDataset 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

TimeSeriesDataset