composeml.LabelMaker.set_index

LabelMaker.set_index(df)[source]

Sets the time index in a data frame (if not already set).

Parameters

df (DataFrame) – Data frame to set time index in.

Returns

Data frame with time index set.

Return type

df (DataFrame)