I have a GeoDataFrame with two geometry columns. I want to fill missing values of the one with the other. Both columns contain polygons or multipolygons. I have tried:
geo_df['geom_2'].fillna(geo_df['geom_1'], inplace=True)
But an error was raised: NotImplementedError: fillna currently only supports filling with a scalar geometry
Later, I tried:
geo_df['geom_2'].replace('None', geo_df['geom_1'], inplace=True)
and got the same error.
is there any possible solution for this task? I'm using GeoPandas verision 0.10.2 .