Skip to content

MAINT: Correct small cast issues on Windows #43995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

bashtage
Copy link
Contributor

Use correct types to avoid downcasts on Windows

  • Ensure all linting tests pass, see here for how to run them

@bashtage bashtage force-pushed the windows-type-clean-cython branch 2 times, most recently from 08f9a85 to d530f92 Compare October 12, 2021 10:01
@bashtage bashtage marked this pull request as draft October 12, 2021 10:50
Use correct types to avoid downcasts on Windows
@bashtage bashtage force-pushed the windows-type-clean-cython branch from d530f92 to be18b40 Compare October 12, 2021 11:56
@bashtage bashtage marked this pull request as ready for review October 12, 2021 12:04
@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Oct 12, 2021
@jreback jreback added this to the 1.4 milestone Oct 12, 2021
@jreback
Copy link
Contributor

jreback commented Oct 12, 2021

avoids build warnings?

@bashtage
Copy link
Contributor Author

Yes for some casts. Others are places where 54 but it's are being truncated to 32 bits. Would only ever show up on windows 64 in a frame with more then 2**32 rows.

@jreback jreback merged commit 5b00a47 into pandas-dev:master Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants