File size: 352 Bytes
d802ce7
0a05de5
d802ce7
 
 
 
0a05de5
 
d802ce7
 
 
 
0a05de5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import pandas as pd
import sys

if __name__ == '__main__':
    import glob

    df_actives = pd.read_parquet(sys.argv[1])
    df_decoys = pd.read_parquet(sys.argv[2])

    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(sys.argv[3])