File size: 246 Bytes
8c24393
 
 
 
 
 
 
 
7e5a878
 
1
2
3
4
5
6
7
8
9
10
11
import dask.dataframe as dd

if __name__ == '__main__':
    import glob

    filenames = glob.glob('DUDE/all/*/ligands.parquet')

    ddf = dd.read_parquet(filenames)
    ddf = ddf.repartition(partition_size='1M')
    ddf.to_parquet('data/dude')