From a2e58d4e4af143028caf890dbe9c1f0b82fc8e88 Mon Sep 17 00:00:00 2001 From: ben stear Date: Thu, 16 Nov 2023 14:43:01 -0500 Subject: [PATCH] Update reduce_petagraph_csv_size_github_actions.py --- tests/reduce_petagraph_csv_size_github_actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/reduce_petagraph_csv_size_github_actions.py b/tests/reduce_petagraph_csv_size_github_actions.py index 5452f29..d295f1d 100644 --- a/tests/reduce_petagraph_csv_size_github_actions.py +++ b/tests/reduce_petagraph_csv_size_github_actions.py @@ -11,7 +11,7 @@ #from collections import Counter #import matplotlib.pyplot as plt - +import sys import warnings warnings.filterwarnings('ignore') # In[2]: @@ -29,8 +29,6 @@ # ## Reduce CUICODEs.csv -# In[6]: - cuicodes['sabs'] = [i.split(':')[0] for i in cuicodes[':END_ID']] cuicodes_reduced = cuicodes[~cuicodes['sabs'].isin(dropsabs)].reset_index(drop=True) @@ -39,6 +37,8 @@ cuicodes_reduced.to_csv('/var/lib/neo4j/import/CUI-CODEs.csv',index=False) del cuicodes + +sys.exit() ''' print('HEREEEEEEEE') codes = pd.read_csv(path+'CODEs.csv')