For selecting a row of pandas series/dataframe by integer index we have new operators which are .iloc, it explicitly supports only integer indexing, and .loc explicitly support only label indexing.
An example that shows the use of both the operators:-
import pandas as pd
import numpy as np
df =pd.DataFrame(np.random.rand(5,2),index=range(0,10,2)
,columns=list('AB'))
print(df)
print(df.iloc[[2]])
print(df.loc[[2]])