timeatlas.time_series_dataset.TimeSeriesDataset.trim

TimeSeriesDataset.trim(side: str = 'both') → timeatlas.time_series_dataset.time_series_dataset.TimeSeriesDataset

Remove NaNs from a TimeSeries start, end or both

Parameters

side – the side where to remove the NaNs. Valid values are either “start”, “end” or “both”. Default to “both”

Returns

TimeSeries