Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 755bd31

Browse files
committed
Fix historic event by location returning nulls
1 parent 423d683 commit 755bd31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firststreet/api/csv_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def format_historic_summary_property(data):
590590
df['depth'] = pd.NA
591591

592592
df['fsid'] = df['fsid'].apply(str)
593-
df['eventId'] = df['eventId'].apply(str)
593+
df['eventId'] = df['eventId'].astype('Int64').apply(str)
594594
df['depth'] = df['depth'].astype('Int64').apply(str)
595595

596596
return df[['fsid', 'valid_id', 'eventId', 'name', 'type', 'depth']]

0 commit comments

Comments
 (0)