Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

df shape

df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4],
...                    'col3': [5, 6]})
>>> df.shape
(2, 3)
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #df #shape
ADD COMMENT
Topic
Name
1+8 =