Categories can be removed by using the .remove_categories() method. Values that are removed are replaced by np.NaN. The following screenshot demonstrates this by removing the bronze category:
Categories can be removed by using the .remove_categories() method. Values that are removed are replaced by np.NaN. The following screenshot demonstrates this by removing the bronze category: