You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pandas_checks/DataFrameChecks.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ def assert_data(
66
66
"""Tests whether Dataframe meets condition. Optionally raises an exception. Does not modify the DataFrame itself.
67
67
68
68
Args:
69
-
condition: Assertion criteria in the form of a lambda function, such as `lambda df: df.shape[0]>10` or
69
+
condition: Assertion criteria in the form of a lambda function, such as `lambda df: df.shape[0]>10`.
70
70
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`
71
71
pass_message: Message to display if the condition passes.
72
72
fail_message: Message to display if the condition fails.
0 commit comments