# creating subset dataframe using # indexing operator df[['Name', 'pre_1', 'pre_2']] ## leave only these 3 cols