Skip to content

Commit cafa0b9

Browse files
suppress pandas FutureWarning
1 parent 6faaffd commit cafa0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sysquant/estimators/forecast_scalar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ def forecast_scalar(
4545
scaling_factor = target_abs_forecast / avg_abs_value
4646

4747
if backfill:
48-
scaling_factor = scaling_factor.fillna(method="bfill")
48+
scaling_factor = scaling_factor.bfill()
4949

5050
return scaling_factor

0 commit comments

Comments
 (0)