I have a data as follows
| ID | A | B |
|---|---|---|
| GIP1 | .. | .. |
| GIP1 | .. | .. |
| GIP2 | .. | .. |
| GIP2 | .. | .. |
| GIP3 | .. | .. |
I want to split the csv file based on the ID. GIP1 feature csv files as GIP1.csv and GIP2 as GIP2.csv and so on.
Can anyone please help me how to do this in python?