COMPAT: different orderings in value_counts on 32-bit platforms · Issue #11227 · pandas-dev/pandas (original) (raw)
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)?