Polo123 commited on
Commit
0c181d0
·
verified ·
1 Parent(s): 13d5e40

Update logic.py

Browse files
Files changed (1) hide show
  1. logic.py +2 -2
logic.py CHANGED
@@ -37,7 +37,7 @@ def convert_int(x):
37
  return np.nan
38
 
39
 
40
- def remove_movies(m_id):
41
  '''
42
  # Remove ids which dont have meta data information
43
  '''
@@ -251,7 +251,7 @@ def make_graph():
251
  id_map = id_map.merge(sampled_md[['title', 'id']], on='id').set_index('title') # tmbdid is same (of links_small) as of id in sampled_md
252
  indices_map = id_map.set_index('id')
253
 
254
- no_metadata = remove_movies(m_id)
255
 
256
  ## remove ids which dont have meta data information
257
  for element in no_metadata:
 
37
  return np.nan
38
 
39
 
40
+ def remove_movies():
41
  '''
42
  # Remove ids which dont have meta data information
43
  '''
 
251
  id_map = id_map.merge(sampled_md[['title', 'id']], on='id').set_index('title') # tmbdid is same (of links_small) as of id in sampled_md
252
  indices_map = id_map.set_index('id')
253
 
254
+ no_metadata = remove_movies()
255
 
256
  ## remove ids which dont have meta data information
257
  for element in no_metadata: