morpheus.utils.column_info.IncrementColumn#
- class IncrementColumn(name, dtype, input_name, groupby_column, period='D')[source]#
Bases:
DateTimeColumnSubclass of
DateTimeColumn, counts the unique occurrences of a value ingroupby_columnover a specific time windowperiodbased on dates in theinput_namefield.- Attributes:
- groupby_columnstr
The column to group by.
- periodstr
The period to use when grouping.
Methods
_process_column(df: pandas.DataFrame) -> pandas.Series
Count the unique occurrences and return the result as a Series.