Skip to content

Commit

Permalink
Update reduce_petagraph_csv_size_github_actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
benstear authored Nov 16, 2023
1 parent 1dcdc20 commit a2e58d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/reduce_petagraph_csv_size_github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#from collections import Counter
#import matplotlib.pyplot as plt


import sys
import warnings
warnings.filterwarnings('ignore')
# In[2]:
Expand All @@ -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)
Expand All @@ -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')
Expand Down

0 comments on commit a2e58d4

Please sign in to comment.