get first item in a column pandas code example Example: get only first 10 columns pandas df.iloc[:, : 50]