DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to check for empty dataframe
df_empty = pd.DataFrame({'A' : []}) df_empty.empty # True
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#check
#empty
#dataframe
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit