Skip to content

Commit

Permalink
suppress pandas FutureWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
bug-or-feature committed Jan 13, 2025
1 parent 6faaffd commit cafa0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysquant/estimators/forecast_scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def forecast_scalar(
scaling_factor = target_abs_forecast / avg_abs_value

if backfill:
scaling_factor = scaling_factor.fillna(method="bfill")
scaling_factor = scaling_factor.bfill()

return scaling_factor

0 comments on commit cafa0b9

Please sign in to comment.