Skip to content

Commit

Permalink
style: fixed pandas deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPic committed Apr 26, 2024
1 parent b6f2a51 commit fc5d047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ehyd_tools/design_rainfall.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def read_ehyd_design_rainfall(filepath_or_buffer):
df = df.dropna(axis=0, how='all')

# convert string column names to integers
df.columns = [int(c.replace('min', '')) for c in df.columns]
df.columns = [int(c.replace('T', '')) for c in df.columns]
# df.columns.name = 'Jährlichkeit'
df.columns.name = INDICES.RETURN_PERIOD

Expand Down

0 comments on commit fc5d047

Please sign in to comment.