Checking for an empty dataframe #1859
Answered
by
maartenbreddels
derrickcchow
asked this question in
Q&A
-
Hi, I was wondering what is the best way to check for an empty database? Thanks Derrick |
Beta Was this translation helpful? Give feedback.
Answered by
maartenbreddels
Jan 26, 2022
Replies: 1 comment 1 reply
-
Hi Derrick,
Regards, Maarten |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
derrickcchow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Derrick,
len(df) == 0
is the best way! Hope that was what you meantRegards,
Maarten