operators.change_datapoint.ChangeDatapoint
- class operators.change_datapoint.ChangeDatapoint(datapoint_type, datapoint_cols=None, sorted=False)
Preprocessor that changes the datapoint type/columns.
Parameters
Parameters
Name Type Default Info datapoint_type str
The new datapoint type. datapoint_cols Optional[NewType(DataframeMultiFieldType, List[str])]
None
The new datapoint columns. sorted bool
False
Whether the dataframe will already be sorted after the change. Is overwritten to true if changing only the datapoint type.