docstr: Train the detector with given time series.
  
  Parameters
  ----------
  df: pandas.DataFrame
      Time series to be used to train the detector.
docstr_tok: ["Train","the","detector","with","given","time","series",".","Parameters","--","--","--","--","--","df",":","pandas.DataFrame","Time","series","to","be","used","to","train","the","detector","."]
code: def fit(self, df: pd.DataFrame) -> None:
      """Train the detector with given time series.
  
      Parameters
      ----------
      df: pandas.DataFrame
          Time series to be used to train the detector.
  
      """
      self._fit(df)
  
imports: from typing import Any, Callable, Dict, List, Tuple, Union
  import pandas
  from ._base import _NonTrainableUnivariateModel, _TrainableMultivariateModel, _TrainableUnivariateModel
  from .data import to_events
  from .metrics import f1_score, iou, precision, recall
label_desc: Use image node_id 1 for calling the _TrainableMultivariateDetector obj's underlying member method code with example usage: obj.fit(df) without return types