Kolom Pandas Bin

bin_edges = [3, 5, 7, 9, 11]
bin_names = ["Low" , "Medium", "Moderately high", "High"]
df["new_column"] = pd.cut(df["column"], bin_edges, labels=bin_names)
Kwams