I was wondering what would be the best method to go about doing this.
I have a csv table with over 500k entries that has 3 columns. I noticed that some rows have multiple start and end positions. I want to consolidate them into a single row for them and just take the minimum and maximum for their range.
I was wondering how can I go got about it. I was thinking of using R? I open to any suggestions. Thank you in advance.
A,10,200
A,250,350
B,5,220
B,230,260
C,1,100
D,20,50
E,1,10
F,11,90
F,100,200
F,210,350
etc
I hope the final results to look like:
A,10,350
B,5,260
C,1,100
D,20,50
E,1,10
F,11,350
python
tag – Epsi95