modelhub.ModelHub.time_agg

time_agg

(data, time_aggregation=None)

[source]

Formats the moment column in the DataFrame, returns a SeriesString.

Can be used to aggregate to different time intervals, ie day, month etc.

Parameters

Returns

SeriesString.

Return type

bach.series.series_string.SeriesString