meanshiftmodel = MeanShift(bandwidth=bandwith_estimation) wholesale_customers['meanshift_clustering'] = meanshiftmodel.fit_predict( scaled_dataset )