How to pass numbers as rows and not as columns in pandas code example Example: how to get a row from a dataframe in python df.iloc[[index]]