how to access first row of a column in oandas code example Example: get only first 10 columns pandas df.iloc[:, : 50]