Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Nov 22, 2023
1 parent 8a14eca commit f7b58b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions nbs/core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,8 @@
" # Add predictions to forecasts DataFrame\n",
" if isinstance(self.uids, pl_Series):\n",
" fcsts = pl_DataFrame(fcsts, schema=cols)\n",
" df_constructor = pl_DataFrame\n",
" else:\n",
" fcsts = pd.DataFrame(fcsts, columns=cols)\n",
" df_constructor = pd.DataFrame\n",
" fcsts_df = horizontal_concat([fcsts_df, fcsts])\n",
"\n",
" # Add original input df's y to forecasts DataFrame \n",
Expand Down
2 changes: 0 additions & 2 deletions neuralforecast/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,8 @@ def cross_validation(
# Add predictions to forecasts DataFrame
if isinstance(self.uids, pl_Series):
fcsts = pl_DataFrame(fcsts, schema=cols)
df_constructor = pl_DataFrame
else:
fcsts = pd.DataFrame(fcsts, columns=cols)
df_constructor = pd.DataFrame
fcsts_df = horizontal_concat([fcsts_df, fcsts])

# Add original input df's y to forecasts DataFrame
Expand Down

0 comments on commit f7b58b3

Please sign in to comment.