Skip to content
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

Add unit test for #12813 #21811

Merged
merged 1 commit into from
Jul 8, 2018
Merged

Conversation

xhochy
Copy link
Contributor

@xhochy xhochy commented Jul 8, 2018

The bug was already fixed with my previous PR but this adds a fixture to a unit test to also test read-only arrays as factorize input.

@jreback jreback added Bug Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff labels Jul 8, 2018
@jreback jreback added this to the 0.24.0 milestone Jul 8, 2018
@jreback jreback merged commit bf583c0 into pandas-dev:master Jul 8, 2018
@jreback
Copy link
Contributor

jreback commented Jul 8, 2018

thank you sir!

@jreback
Copy link
Contributor

jreback commented Jul 8, 2018

be2a9f8

if you are so inclined, pretty much can reverse this.

@xhochy xhochy deleted the unit-test-for-12813 branch July 8, 2018 17:47
Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Factorize fails with read-only array
2 participants