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
DataFrame.describe() output is not deterministic #32528
Comments
Could you
|
Checking at the code, this code should also reproduce the problem: import pandas
data = pandas.Series(list('abc'))
data.value_counts().index[0] (it always returns |
@ShaharNaveh @datapythonista @mroeschke Hi, the code that I run
I am able to get deterministic output after running many rounds.
The result is expected
Pandas version I run:
Thank |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xref #31472
Running this:
Will sometimes have the output of:
And sometimes the output of:
(Changes at the row of
top
)This is making the doctests fail. We should remove the
SKIP
in the tests in thedescribe
docstring when we identify the problem: https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L9649The text was updated successfully, but these errors were encountered: