I have a pandas dataframe like shown below where the coordinates column contains X and Y coordinates:
Coordinates Cluster
0 [25, 79] 2
1 [34, 51] 2
2 [22, 53] 2
3 [27, 78] 2
4 [33, 59] 2
I want to split the Coordinates column into X and Y column so that I have something like below:
X Y Cluster
0 25 79 2
1 34 51 2
2 22 53 2
3 27 78 2
4 33 59 2
How can I achieve this?