I have a collection of geodataframes in my Python environment. How can I apply for each GeoDataFrame the same spatial operation using following manner and create a new variable with the reference that it was manipulated by attaching "_dissolved"?
shp_1 = gpd.read_file('test1.shp') shp_2 = gpd.read_file('test2.shp') shp_3 = gpd.read_file('test3.shp') lst = [shp_1,shp_2,shp_3] for i in lst: i = i.dissolve(...)
Expected result would be the variables:
shp_1_dissolved shp_2_dissolved shp_3_dissolved
I tried something like:
i'_dissolved' = i.dissolve(...)
i + '_dissolved' = i.dissolve(...)