Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dataframe pandas empty

>>> df_empty = pd.DataFrame({'A' : []})
>>> df_empty
Empty DataFrame
Columns: [A]
Index: []
>>> df_empty.empty
True
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #dataframe #pandas #empty
ADD COMMENT
Topic
Name
8+1 =