Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

df iloc

df.iloc[[0]]
   a  b  c  d
0  1  2  3  4
>>> type(df.iloc[[0]])
<class 'pandas.core.frame.DataFrame'>
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #df #iloc
ADD COMMENT
Topic
Name
1+1 =