Skip to content

Commit

Permalink
Merge branch 'sdh-fix-filter' into 'main'
Browse files Browse the repository at this point in the history
Keep Revised data in approved data filter function

See merge request water/computational-tools/surface-water-work/hyswap!60
  • Loading branch information
Scott Hamshaw committed Jan 5, 2024
2 parents b63d623 + 977659c commit 1826fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hyswap/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def filter_approved_data(data, filter_column=None):
if filter_column is None:
raise ValueError("filter_column must be specified.")
return data.loc[((data[filter_column] == "A") |
(data[filter_column] == "A, e"))]
(data[filter_column] == "A, e") |
(data[filter_column] == "A, R"))]


def rolling_average(df, data_column_name, data_type,
Expand Down

0 comments on commit 1826fa6

Please sign in to comment.