DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas rows count
count_row
=
df
.
shape
[
0
]
# Gives number of rows
count_col
=
df
.
shape
[
1
]
# Gives number of columns
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#rows
#count
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit