阅读背景:

函数用于随机化(逐行)df,拆分,然后写入csv

来源:互联网 

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




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: