Skip to content

COMPAT: different orderings in value_counts on 32-bit platforms #11227

Closed
@jreback

Description

@jreback

This occurs on 32-bit linux, a slightly different ordering is returned from the hashtable. Only guess is that it is because the indexing is Py_ssize_t and this is hashed and has differing values. So the test should be slightly different for those platforms.

see test skipping here: d6c7a3a

Not a big deal, but here's the question. Should we guarantee these types of orderings, IOW, use a int64 instead of Py_ssize_t for indexing (on all platforms)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    32bit32-bit systemsTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions