I have an array that looks like this (only it goes down to 10000-ish values)
A B
0 0 10.0
1 1 15.0
2 2 14.0
3 0 10.0
4 1 100.0
5 2 1.4
6 3 20.0
7 0 12.0
8 1 4.0
I want to separate the data such that it looks like this
A B
0 0 10
1 1 15
2 2 14
A B
0 0 10.0
1 1 100.0
2 2 1.4
3 3 20.0
A B
0 0 12
1 1 4
It doesn't necessarily have to be three separate data frames but when I call column 'B' I would like the values to not all be grouped together.