Skip to content

Commit

Permalink
Update si.py
Browse files Browse the repository at this point in the history
src/spei/si.py:45: error: Need type annotation for "si"  [var-annotated]
  • Loading branch information
martinvonk committed Jun 9, 2023
1 parent 7704b14 commit 9e94b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spei/si.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def compute_si_ppf(
series = validate_series(series)
index = validate_index(series.index)

si = Series(index=index, dtype=float)
si = Series(index=index, dtype=float) # type: Series
for month in range(1, 13):
data = series[index.month == month].sort_values()
if not sgi:
Expand Down

0 comments on commit 9e94b8b

Please sign in to comment.