Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas df row count

df = pd.DataFrame({"Letters": ["a", "b", "c"], "Numbers": [1, 2, 3]})
index = df.index
number_of_rows = len(index)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #pandas #df #row #count
ADD COMMENT
Topic
Name
7+5 =