cut_labels_4 = ['silver', 'gold', 'platinum', 'diamond'] cut_bins = [0, 70000, 100000, 130000, 200000] df['cut_ex1'] = pd.cut(df['ext price'], bins=cut_bins, labels=cut_labels_4)