Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas return first row

df_test.iloc[0]
or
df_test['someColumnName'].iloc[0]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #return #row
ADD COMMENT
Topic
Name
8+2 =