File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -356,13 +356,13 @@ def append(self, *centr):
356356 union : Union of Centroid objects.
357357 remove_duplicate_points : Remove duplicate points in a Centroids object.
358358 """
359- for cc in centr :
360- if not u_coord .equal_crs (self .crs , cc .crs ):
359+ for other in centr :
360+ if not u_coord .equal_crs (self .crs , other .crs ):
361361 raise ValueError (
362- f"The given centroids use different CRS: { self .crs } , { cc .crs } . "
362+ f"The given centroids use different CRS: { self .crs } , { other .crs } . "
363363 "The centroids are incompatible and cannot be concatenated."
364364 )
365- self .gdf = pd .concat ([self .gdf ] + [cc .gdf for cc in centr ])
365+ self .gdf = pd .concat ([self .gdf ] + [other .gdf for other in centr ])
366366
367367 def union (self , * others ):
368368 """Create the union of the current Centroids object with one or more other centroids
You can’t perform that action at this time.
0 commit comments