Search
 
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
Name
6+3 =