Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def network_narrator(narrator_id):
|
|
74 |
edge_full = edge_narrator[['Taraf Count', 'Hadith Count', 'Isnad Count', 'Source', 'Book Count', 'Destination']]
|
75 |
edge_full['Teacher'] = edge_full['Source'].apply(lambda x: get_node_info(x)[-1] )
|
76 |
edge_full['Student'] = edge_full['Destination'].apply(lambda x: get_node_info(x)[-1] )
|
77 |
-
return edge_full.rename(columns = {'Taraf Count': 'Tarafs' 'Hadith Count':'Hadiths', 'Isnad Count':'Isnads', 'Book Count':'Books'})
|
78 |
|
79 |
def narrator_retriever(name):
|
80 |
if 'ALL' in name:
|
|
|
74 |
edge_full = edge_narrator[['Taraf Count', 'Hadith Count', 'Isnad Count', 'Source', 'Book Count', 'Destination']]
|
75 |
edge_full['Teacher'] = edge_full['Source'].apply(lambda x: get_node_info(x)[-1] )
|
76 |
edge_full['Student'] = edge_full['Destination'].apply(lambda x: get_node_info(x)[-1] )
|
77 |
+
return edge_full.rename(columns = {'Taraf Count': 'Tarafs', 'Hadith Count':'Hadiths', 'Isnad Count':'Isnads', 'Book Count':'Books'})
|
78 |
|
79 |
def narrator_retriever(name):
|
80 |
if 'ALL' in name:
|