Skip to content

Commit

Permalink
Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Aug 20, 2024
1 parent 16792fc commit 78728b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stormevents/nhc/storms.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def nhc_storms(year: int = None) -> pandas.DataFrame:
header=0,
names=columns,
)
for i in ['start_date', 'end_date']:
storms[i] = pandas.to_datetime(storms[i], errors='coerce', format='%Y%m%d%H')
for i in ["start_date", "end_date"]:
storms[i] = pandas.to_datetime(storms[i], errors="coerce", format="%Y%m%d%H")

storms = storms.astype(
{"start_date": "datetime64[s]", "end_date": "datetime64[s]"},
Expand Down

0 comments on commit 78728b4

Please sign in to comment.