how to take a specific row from dataframe code example Example: isolate row based on index pandas dfObj.iloc[: , [0, 2]]