I have a dataframe that looks like below
+------+------+---+---+---+
| S.No | A | B | C | D |
+------+------+---+---+---+
| 1 | 0.25 | 2 | 1 | 5 |
+------+------+---+---+---+
| 2 | 1.1 | 4 | 2 | 5 |
+------+------+---+---+---+
| 3 | 1.5 | 6 | 3 | 5 |
+------+------+---+---+---+
| 4 | 0.32 | 3 | 4 | 5 |
+------+------+---+---+---+
| 5 | 1.45 | 5 | 5 | 5 |
+------+------+---+---+---+
| 6 | 1.9 | 7 | 6 | 5 |
+------+------+---+---+---+
| 7 | 0.5 | 3 | 4 | 5 |
+------+------+---+---+---+
| 8 | 1.49 | 5 | 5 | 5 |
+------+------+---+---+---+
I want to split them into 3 dataframes with same column header value name, the split is based on Column A value i.e 1st dataframe should start from 0.25 and end in 1.5, the second dataframe should start from 0.32 and end in 1.9 and 3rd dataframe should start from 0.5 and end in 1.49. i.e when the value in column A is between 0-1, the split should start, They all should retain the same column header value. Expected Output is as follows, Since i am new to this, i dont know how to get this done properly, any help in this would be appreciated.
Dataframe 1:
+------+------+---+---+---+
| S.No | A | B | C | D |
+------+------+---+---+---+
| 1 | 0.25 | 2 | 1 | 5 |
+------+------+---+---+---+
| 2 | 1.1 | 4 | 2 | 5 |
+------+------+---+---+---+
| 3 | 1.5 | 6 | 3 | 5 |
+------+------+---+---+---+
Dataframe 2:
+------+------+---+---+---+
| S.No | A | B | C | D |
+------+------+---+---+---+
| 4 | 0.32 | 3 | 4 | 5 |
+------+------+---+---+---+
| 5 | 1.45 | 5 | 5 | 5 |
+------+------+---+---+---+
| 6 | 1.9 | 7 | 6 | 5 |
+------+------+---+---+---+
Dataframe 3:
+------+------+---+---+---+
| S.No | A | B | C | D |
+------+------+---+---+---+
| 7 | 0.5 | 3 | 4 | 5 |
+------+------+---+---+---+
| 8 | 1.49 | 5 | 5 | 5 |
+------+------+---+---+---+