import dask.dataframe as dd | |
import sys | |
if __name__ == '__main__': | |
import glob | |
filenames = glob.glob(sys.argv[2]) | |
ddf = dd.read_parquet(filenames) | |
ddf.compute().to_parquet(sys.argv[1]) | |
import dask.dataframe as dd | |
import sys | |
if __name__ == '__main__': | |
import glob | |
filenames = glob.glob(sys.argv[2]) | |
ddf = dd.read_parquet(filenames) | |
ddf.compute().to_parquet(sys.argv[1]) | |