how to get the first value of a column in dataframe python code example Example: get only first 10 columns pandas df.iloc[:, : 50]