The latest geopandas is raising a warning in explode about the future change of the behaviour of an index. I wanted to add a keyword to silence it but then I realised that the explode is actually not needed here. We do the unary_union and the rest doesn't care about the multipolygons in the original input. So I removed it.
The latest geopandas is raising a warning in
explode
about the future change of the behaviour of an index. I wanted to add a keyword to silence it but then I realised that theexplode
is actually not needed here. We do theunary_union
and the rest doesn't care about the multipolygons in the original input. So I removed it.