pandas.DataFrame.iloc — pandas 1.3.5 documentation
pandas.pydata.org › api › pandaspandas.DataFrame.iloc¶ property DataFrame. iloc ¶ Purely integer-location based indexing for selection by position..iloc[] is primarily integer position based (from 0 to length-1 of the axis), but may also be used with a boolean array. Allowed inputs are: An integer, e.g. 5. A list or array of integers, e.g. [4, 3, 0]. A slice object with ...