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]) | |