Skip to content

ERR: raise on python in object hashing, only supporting strings, nulls #14767

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

Closed
wants to merge 1 commit into from

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Nov 29, 2016

xref #14729

@jreback jreback added Dtype Conversions Unexpected or buggy dtype conversions Error Reporting Incorrect or improved errors from pandas labels Nov 29, 2016
@jreback jreback added this to the 0.19.2 milestone Nov 29, 2016
@jreback
Copy link
Contributor Author

jreback commented Nov 29, 2016

cc @mikegraham
cc @mrocklin

@mikegraham
Copy link
Contributor

Awesome, I think this is a really worth while restriction. Thanks!

@mikegraham
Copy link
Contributor

Initially you were worried about things like tuples for multiindices -- did you decide that wasn't really a concern?

@jreback
Copy link
Contributor Author

jreback commented Nov 30, 2016

problem with tuples is that they can contain arbitrary things - so punting for now

@codecov-io
Copy link

Current coverage is 85.27% (diff: 100%)

Merging #14767 into master will not change coverage

@@             master     #14767   diff @@
==========================================
  Files           144        144          
  Lines         50915      50915          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          43418      43418          
  Misses         7497       7497          
  Partials          0          0          

Powered by Codecov. Last update 423c16a...8fb4ed0

@jreback jreback closed this in de1132d Nov 30, 2016
jreback added a commit to jreback/pandas that referenced this pull request Dec 6, 2016
jreback added a commit that referenced this pull request Dec 6, 2016
* BUG: we don't like hash collisions in siphash

xref #14767

* This should be a 64-bit int, not an 8-bit int

* fix tests
jorisvandenbossche pushed a commit that referenced this pull request Dec 15, 2016
…ting strings, nulls

xref #14729

Author: Jeff Reback <[email protected]>

Closes #14767 from jreback/hashing_object and squashes the following commits:

9a5a5d4 [Jeff Reback] ERR: raise on python in object hashing, only supporting strings, nulls

(cherry picked from commit de1132d)
jorisvandenbossche pushed a commit that referenced this pull request Dec 15, 2016
* BUG: we don't like hash collisions in siphash

xref #14767

* This should be a 64-bit int, not an 8-bit int

* fix tests

(cherry picked from commit 51f725f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants