Skip to content

Commit

Permalink
Fix minor change/typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbousquin committed Feb 5, 2024
1 parent f258a59 commit 9b2ef05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion harmonize_wq/harmonize.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def harmonize_all(df_in, errors='raise'):
>>> from harmonize_wq import harmonize
>>> df_result_all = harmonize.harmonize_all(df1)
2 Phosphorus sample fractions not in frac_dict
1 Phosphorus sample fractions not in frac_dict
1 Phosphorus sample fractions not in frac_dict found in expected domains, mapped to "Other_Phosphorus"
>>> df_result_all
Expand Down
4 changes: 2 additions & 2 deletions harmonize_wq/wq_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,8 @@ def fraction(self, frac_dict=None, catch_all=None, suffix=None,
>>> from numpy import nan
>>> frac_dict = {'TP_Phosphorus': ['Total'],
'TDP_Phosphorus': ['Dissolved'],
'Other_Phosphorus': ['', nan],}
... 'TDP_Phosphorus': ['Dissolved'],
... 'Other_Phosphorus': ['', nan],}
>>> wq.fraction(frac_dict)
>>> wq.df.columns
Index(['CharacteristicName', 'ResultMeasure/MeasureUnitCode',
Expand Down

0 comments on commit 9b2ef05

Please sign in to comment.