You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with a graph with lots of edges/nodes (3846 items) I got a full screen of warnings related to the d3graph.py:903
PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling frame.insert many time, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame use newframe=frame.copy()
adjmat[node]=0
It would be nice to do something that gets the same result here without pushing the warning at us (it makes a Jupyter Notebook real ugly).
Note, it still worked fine, it's just a nice to have.
The text was updated successfully, but these errors were encountered:
Thanks for mentioning this! However, I could not reproduce the issue.
I created a graph with almost 10k nodes but I do not see any warnings. Can you show with example code when this issue happens to you?
When working with a graph with lots of edges/nodes (3846 items) I got a full screen of warnings related to the d3graph.py:903
PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling
frame.insert
many time, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame usenewframe=frame.copy()
adjmat[node]=0
It would be nice to do something that gets the same result here without pushing the warning at us (it makes a Jupyter Notebook real ugly).
Note, it still worked fine, it's just a nice to have.
The text was updated successfully, but these errors were encountered: