Skip to content

Commit

Permalink
fix: updated to conform new pandas syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPic committed Mar 22, 2024
1 parent f25a58e commit fa4b6b6
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 @@ -241,7 +241,7 @@ def get_max_calculation_method(df, methods=None):
if methods is None:
methods = ['ÖKOSTRA', 'Bemessung']

return df.loc[pd.IndexSlice[:, methods], :].groupby(axis=0, level=0).max().copy()
return df.loc[pd.IndexSlice[:, methods], :].groupby(level=0).max().copy()


def get_calculation_method(df, method='Bemessung'):
Expand Down

0 comments on commit fa4b6b6

Please sign in to comment.