File size: 383 Bytes
d802ce7
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import pandas as pd

if __name__ == '__main__':
    import glob

    df_actives = pd.read_parquet('data/dcoid_actives.parquet')
    df_decoys = pd.read_parquet('data/dcoid_decoys.parquet')

    df_actives['active'] = pd.Series([True]*len(df_actives))
    df_decoys['active'] = pd.Series([False]*len(df_decoys))

    pd.concat([df_actives,df_decoys]).to_parquet('data/dcoid.parquet')