Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dataframe shape

print(df.shape)
# (891, 12)

print(df.shape[0])
# 891

print(df.shape[1])
# 12
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #python #dataframe #shape
ADD COMMENT
Topic
Name
4+7 =