select all columns from first one pandas code example Example: get only first 10 columns pandas df.iloc[:, : 50]