how to make a new column in pandas datafraem code example Example: create new dataframe from columns pandas new_dataset = dataset[['A','D']]