We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d1faba + bc65a5d commit 3768af8Copy full SHA for 3768af8
pandas_checks/DataFrameChecks.py
@@ -128,7 +128,7 @@ def assert_data(
128
129
# Or show a message if it passes, and raise a specific exception (ValueError) if it fails.
130
.check.assert_data(
131
- lambda df: s.shape[0]>1,
+ lambda df: s.shape[0]>0,
132
fail_message="FYI DataFrame has 0 rows",
133
pass_message="DataFrame has at least 1 row!",
134
exception_to_raise=ValueError,
0 commit comments