composeml.LabelTimes.apply_lead

LabelTimes.apply_lead(value, inplace=False)[source]

Shifts the label times earlier for predicting in advance.

Parameters
  • value (str) – Time to shift earlier.

  • inplace (bool) – Modify labels in place.

Returns

Instance of labels.

Return type

labels (LabelTimes)