Skip to content

Commit

Permalink
Fixed Dateframe to DataFrame in helpers (#1453)
Browse files Browse the repository at this point in the history
  • Loading branch information
HuuHieuDo authored Oct 11, 2023
1 parent c502832 commit 6d9b5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/helpers/time_series_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def get_start_end_date(dataframe: pd.DataFrame, period: str, forecast_count: int


def forecast_ets(dataframe: pd.DataFrame, start_date: str, end_date: str, seasonal_period: str = "none",
error: str = "add", trend: str = "add", damped_trend: bool = False) -> pd.DateFrame:
error: str = "add", trend: str = "add", damped_trend: bool = False) -> pd.DataFrame:
"""
Args:
Dataframe (dataframe): Dataframe containing training timeseries dataset.
Expand Down Expand Up @@ -381,7 +381,7 @@ def forecast_ets(dataframe: pd.DataFrame, start_date: str, end_date: str, season

def forecast_holt_winters_ets(dataframe: pd.DataFrame, forecast_count: int, seasonal_period: str = "none",
trend: str = "add", use_boxcox: bool = False,
initialization_method: str = "estimated") -> pd.DateFrame:
initialization_method: str = "estimated") -> pd.DataFrame:
"""
Args:
Expand Down

0 comments on commit 6d9b5bc

Please sign in to comment.