Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
Scienfitz committed Jan 14, 2025
1 parent c71fe09 commit 969dea4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions baybe/utils/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,11 @@ def fuzzy_row_match(
Raises:
ValueError: If some rows are present in the right but not in the left dataframe.
Note:
This function assumes that the dataframes contain only allowed values as
specified in the parameter objects. No further validation to assert this is
done.
"""
# Assert that all parameters appear in the given dataframe
if not all(col in right_df.columns for col in left_df.columns):
Expand Down

0 comments on commit 969dea4

Please sign in to comment.