Skip to content

Commit 3768af8

Browse files
authored
Merge pull request #42 from cparmet/docs-typo2
Fix leftover typo in docstring example usage
2 parents 5d1faba + bc65a5d commit 3768af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_checks/DataFrameChecks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def assert_data(
128128
129129
# Or show a message if it passes, and raise a specific exception (ValueError) if it fails.
130130
.check.assert_data(
131-
lambda df: s.shape[0]>1,
131+
lambda df: s.shape[0]>0,
132132
fail_message="FYI DataFrame has 0 rows",
133133
pass_message="DataFrame has at least 1 row!",
134134
exception_to_raise=ValueError,

0 commit comments

Comments
 (0)