FDSRashid commited on
Commit
615fbaf
1 Parent(s): 3464e6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def network_narrator(narrator_id, fst_year, lst_year, yaxis):
53
  edges = subsetEdges(fst_year, lst_year)
54
  edges_single = edges[(edges['Teacher_ID']==narrator_id) | (edges['Student_ID']==narrator_id)]
55
  edges_prepped = splitIsnad(edges_single)
56
- net = Network()
57
  for _, row in edges_prepped.iterrows():
58
  source = row['Teacher']
59
  target = row['Student']
 
53
  edges = subsetEdges(fst_year, lst_year)
54
  edges_single = edges[(edges['Teacher_ID']==narrator_id) | (edges['Student_ID']==narrator_id)]
55
  edges_prepped = splitIsnad(edges_single)
56
+ net = Network(directed =True)
57
  for _, row in edges_prepped.iterrows():
58
  source = row['Teacher']
59
  target = row['Student']