Blog136K views2,279 votes0 replies864 following
NetworkX Connected Components: When Isolated Nodes Inflate Your Counts
nx.connected_components is easy to call and easy to misread — singletons, one-shot generators, and the weakly-vs-strongly choice all change the number you report.