Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dataframe get first n rows

df.head(n)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #pandas #dataframe #rows
ADD COMMENT
Topic
Name
9+4 =