So, my goal is to write a function that will take as input any csv file, an output path, and an arbitrary number of split sizes (by number of rows), and then randomize and split the data into the appropriate files. I could really easily do this manually if I know the split sizes ahead of time, but I want an automated function that will handle varying split sizes. Seems straightforward, and here's what I had written:So, my goal is to write a function that will ta