Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

pandas shape

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