take row from dataframe for index code example
Example 1: isolate row based on index pandas
dfObj.iloc[: , [0, 2]]
Example 2: pandas return specific row
df.iloc[1] # replace index integer with specific row number
dfObj.iloc[: , [0, 2]]
df.iloc[1] # replace index integer with specific row number