Sep-17-2020, 06:37 AM
Hello, please can you help me with creating clusters. I have one column x with number(1,2,6,8,4,7,5,9,8,2,4,9,3). I would like to create three clusters (0-3,4-6,7-9). Can you help me. How can I create these clusters in python. And i would like to create new column with these clusters.
for example
x y
1 0-3
2 0-3
6 4-6
Thank you so much for yours answers.
for example
x y
1 0-3
2 0-3
6 4-6
Thank you so much for yours answers.