DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+6 =
Submit