Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,6 @@ def visualize_subTaraf(df, yaxis):
|
|
154 |
isnad_hadith['Teacher'] = isnad_hadith['Teacher'].apply(lambda x: x[0] if len(x)==1 else 'ููุงู')
|
155 |
isnad_hadith['Student'] = isnad_hadith['Student'].apply(lambda x: x[0] if len(x)==1 else 'ููุงู')
|
156 |
|
157 |
-
end_nodes = df['End Transmitter ID'].tolist()
|
158 |
G = nx.from_pandas_edgelist(isnad_hadith, source = 'Source', target = 'Destination', create_using = nx.DiGraph())
|
159 |
isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
|
160 |
x_stretch = 4
|
|
|
154 |
isnad_hadith['Teacher'] = isnad_hadith['Teacher'].apply(lambda x: x[0] if len(x)==1 else 'ููุงู')
|
155 |
isnad_hadith['Student'] = isnad_hadith['Student'].apply(lambda x: x[0] if len(x)==1 else 'ููุงู')
|
156 |
|
|
|
157 |
G = nx.from_pandas_edgelist(isnad_hadith, source = 'Source', target = 'Destination', create_using = nx.DiGraph())
|
158 |
isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
|
159 |
x_stretch = 4
|