Skip to content

Commit

Permalink
without change, deprecation warning is called a lot
Browse files Browse the repository at this point in the history
and it is very annoying
  • Loading branch information
kthyng committed Jun 21, 2024
1 parent d776565 commit 54ddb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noaa_coops/station.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def get_data(

# Try to convert strings to numeric values where possible
for col in df.columns:
df[col] = pd.to_numeric(df[col], errors="ignore")
df[col] = pd.to_numeric(df[col])

df = df[~df.index.duplicated(keep="first")]
self.data = df
Expand Down

0 comments on commit 54ddb82

Please sign in to comment.