Split a csv file into multiple files based on a pattern
Split a csv file into multiple files based on a pattern Question: I have a csv file with the following structure: time,magnitude 0,13517 292.5669,370 620.8469,528 0,377 832.3269,50187 5633.9419,3088 20795.0950,2922 21395.6879,2498 21768.2139,647 21881.2049,194 0,3566 292.5669,370 504.1510,712 1639.4800,287 46709.1749,365 46803.4400,500 I’d like to split this csv file into separate csv files, like the following: File 1: time,magnitude …