Skip to content

Commit dea3e99

Browse files
cosmetics
1 parent 5ff1e19 commit dea3e99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

climada/entity/exposures/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ def write_hdf5(self, file_name):
11321132
"""
11331133
LOGGER.info("Writing %s", file_name)
11341134
store = pd.HDFStore(file_name, mode="w")
1135-
geocols = self.gdf.columns[self.gdf.dtypes == "geometry"].to_list()
1135+
geocols = self.data.columns[self.data.dtypes == "geometry"].to_list()
11361136
pandas_df = self.data.to_wkb()
11371137

11381138
# Avoid pandas PerformanceWarning when writing HDF5 data

0 commit comments

Comments
 (0)