Skip to content

Conversation

@kgoebber
Copy link
Collaborator

Description Of Changes

This PR seeks to fix issue #2872 by explicitly declaring the type of the latitude and longitude columns of the Pandas DataFrame that gets returned when using the add_station_lat_lon function.

Checklist

@kgoebber kgoebber requested a review from a team as a code owner September 12, 2023 22:20
@kgoebber kgoebber requested review from dopplershift and removed request for a team September 12, 2023 22:20
Copy link
Member

@dcamron dcamron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for throwing this together! I might run it by one of this past year's summer interns if they have time, since they had started to take a look at this before. Also offered a solution that doesn't add any new lines, but I haven't tested it across Pandas versions.

I'll come back and approve/request after running it by them!

@dopplershift dopplershift merged commit b2b30dd into Unidata:main Sep 14, 2023
@github-actions github-actions bot added this to the September 2023 milestone Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add_station_lat_lon yields columns with object dtype

3 participants