Skip to main content
Version: 25.4

operators.change_datapoint.ChangeDatapoint

class operators.change_datapoint.ChangeDatapoint(datapoint_type, datapoint_cols=None, sorted=False)

Preprocessor that changes the datapoint type/columns.

Parameters

NameTypeDefaultInfo
datapoint_typestrThe new datapoint type.
datapoint_colsOptional[NewType(DataframeMultiFieldType, List[str])]NoneThe new datapoint columns.
sortedboolFalseWhether the dataframe will already be sorted after the change. Is overwritten to true if changing only the datapoint type.