Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pandas shape

# The shape attribute returns a tuple (TODO appendix) where the first value is
#the number of rows and the second number is the number of columns
print(df.shape)
(1704, 6)
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #python #pandas #shape
ADD COMMENT
Topic
Name
3+7 =