Skip to content

Commit

Permalink
Revert return numpy arrays.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chahan Kropf committed Dec 7, 2023
1 parent 429e74c commit fb7c7cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions climada/hazard/centroids/centr.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,17 @@ def lon(self):
@property
def geometry(self):
""" Return the geometry """
return self.gdf['geometry'].values
return self.gdf['geometry']

@property
def on_land(self):
""" Get the on_land property """
return self.gdf['on_land'].values
return self.gdf['on_land']

@property
def region_id(self):
""" Get the assigned region_id."""
return self.gdf['region_id'].values
return self.gdf['region_id']

@property
def crs(self):
Expand Down

0 comments on commit fb7c7cc

Please sign in to comment.