Skip to content

Commit

Permalink
Merge pull request #30 from cparmet/fix-docstring
Browse files Browse the repository at this point in the history
Fix a docstring
  • Loading branch information
cparmet authored Jun 27, 2024
2 parents a84b3d8 + c84deb4 commit 9f62062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas_checks/DataFrameChecks.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def assert_data(
"""Tests whether Dataframe meets condition. Optionally raises an exception. Does not modify the DataFrame itself.
Args:
condition: Assertion criteria in the form of a lambda function, such as `lambda df: df.shape[0]>10` or
condition: Assertion criteria in the form of a lambda function, such as `lambda df: df.shape[0]>10`.
subset: Optional, which column or columns to check the condition against. Applied after fn. Subsetting can also be done within the `condition`, such as `lambda df: df['column_name'].sum()>10`
pass_message: Message to display if the condition passes.
fail_message: Message to display if the condition fails.
Expand Down

0 comments on commit 9f62062

Please sign in to comment.