I really like this graph section.
There is a UnionFind (aka as DisjoinSet) in scipy. I would love to solve the problems using it.
Unfortunately the scipy version offered is < 1.6 where DisjointSet were introduced.
Is there any plans to have scipy updated?