Skip to content
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

BUG: Don't convert uint64 to object in DataFrame init #14917

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Dec 19, 2016

The hack used to resolve #2355 is no longer needed. Removes the hack and patches several tests that relied on this hacky (and buggy) behavior.

Closes #14881.

The hack used to resolve pandas-devgh-2355 is no longer needed.
Removes the hack and patches several tests that relied
on this hacky (and buggy) behavior.

Closes pandas-devgh-14881.
@gfyoung gfyoung changed the title BUG: Don't convert uint64 object in DataFrame init BUG: Don't convert uint64 to object in DataFrame init Dec 19, 2016
@codecov-io
Copy link

codecov-io commented Dec 19, 2016

Current coverage is 84.57% (diff: 100%)

Merging #14917 into master will increase coverage by <.01%

@@             master     #14917   diff @@
==========================================
  Files           144        144          
  Lines         51057      51053     -4   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits          43180      43177     -3   
+ Misses         7877       7876     -1   
  Partials          0          0          

Powered by Codecov. Last update f1cfe5b...9fe2199

@jreback jreback added Bug Dtype Conversions Unexpected or buggy dtype conversions labels Dec 19, 2016
@jreback
Copy link
Contributor

jreback commented Dec 19, 2016

can you add the actual given test from the issue as well.

@gfyoung
Copy link
Member Author

gfyoung commented Dec 19, 2016

@jreback : It's no different from the first test of test_constructor_overflow_int64.

@jreback
Copy link
Contributor

jreback commented Dec 19, 2016

ok then.

@jreback jreback added this to the 0.20.0 milestone Dec 19, 2016
@jreback jreback merged commit 0ac3d98 into pandas-dev:master Dec 19, 2016
@gfyoung gfyoung deleted the df-init-uint64 branch December 19, 2016 18:18
ShaharBental pushed a commit to ShaharBental/pandas that referenced this pull request Dec 26, 2016
The hack used to resolve pandas-devgh-2355 is no longer needed.
Removes the hack and patches several tests that relied
on this hacky (and buggy) behavior.

Closes pandas-devgh-14881.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataFrame constructor converts uint64 series to object series Raise exception from overflowing uint64 data
3 participants