Skip to content

Test added: uint64 multicolumn sort #29365

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

Merged
merged 2 commits into from
Nov 3, 2019
Merged

Conversation

pv8473h12
Copy link
Contributor

@pv8473h12 pv8473h12 commented Nov 2, 2019

Added test
@simonjayhawkins simonjayhawkins added the Testing pandas testing functions or related to the test suite label Nov 2, 2019
}
)
df["a"] = df["a"].astype(np.uint64)
result = df.sort_values(["a", "b"]).reset_index(drop=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of .reset_index(drop=True), can you assign the correct expected index to expected (...index=pd.Index([1, 0]))

@jreback jreback added this to the 1.0 milestone Nov 3, 2019
@jreback jreback added the Dtype Conversions Unexpected or buggy dtype conversions label Nov 3, 2019
@jreback jreback merged commit ec53356 into pandas-dev:master Nov 3, 2019
@jreback
Copy link
Contributor

jreback commented Nov 3, 2019

thanks @pv8473h12

Reksbril pushed a commit to Reksbril/pandas that referenced this pull request Nov 18, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
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 Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uint64 multicolumn sort
4 participants