docstr: Fit Prophet model on normal (inlier) data.
  
  Parameters
  ----------
  df
      Dataframe with columns `ds` with timestamps and `y` with target values.
docstr_tok: ["Fit","Prophet","model","on","normal","(","inlier",")","data",".","Parameters","--","--","--","--","--","df","Dataframe","with","columns","`","ds","`","with","timestamps","and","`","y","`","with","target","values","."]
code: def fit(self, df: pd.DataFrame) -> None:
      """
      Fit Prophet model on normal (inlier) data.
  
      Parameters
      ----------
      df
          Dataframe with columns `ds` with timestamps and `y` with target values.
      """
      if self.cap:
          df["cap"] = self.cap
      self.model.fit(df)
  
file_path: alibi-detect/alibi_detect/od/prophet.py
imports: from prophet import Prophet
  import logging
  import pandas
  from typing import Dict, List, Union
  from alibi_detect.base import BaseDetector, FitMixin, outlier_prediction_dict
label_desc: Use image node_id 2 for calling the OutlierProphet obj's underlying member method code with example usage: obj.fit(df) without return types