Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas take first n rows

 df.iloc[:n]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #rows
ADD COMMENT
Topic
Name
7+1 =