_prepare_df

_prepare_df(df: pandas.core.frame.DataFrame, df_exog: pandas.core.frame.DataFrame, segment: str, regressors: List[str])[source]

Drop nan values from dataframes for the segment.

Parameters
  • df (pandas.core.frame.DataFrame) –

  • df_exog (pandas.core.frame.DataFrame) –

  • segment (str) –

  • regressors (List[str]) –