We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's a weird one from SO. Bug in 0.11.0 (fixed in dev).
accurate_ICB = ['SA EQUITY CFD', 'SA EQUITY', 'SA SSF'] data = {'Classification': ['SA EQUITY CFD', 'bbb', 'SA EQUITY', 'SA SSF', 'aaa'], 'Random': [1,2,3,4,5], 'X': ['correct', 'wrong','correct', 'correct','wrong']} df =pd.DataFrame(data) x = df[~df.Classification.isin(accurate_ICB)] df.ix[x.index,'X'] = df['Classification'] print df
In pandas 0.11.0 it produces:
Classification Random X 0 SA EQUITY CFD 1 correct 1 bbb 2 bbb 2 SA EQUITY 3 correct 3 SA SSF 4 correct 4 aaa 5 bbb
In pandas 0.11.1dev it produces:
Classification Random X 0 SA EQUITY CFD 1 correct 1 bbb 2 bbb 2 SA EQUITY 3 correct 3 SA SSF 4 correct 4 aaa 5 aaa
The text was updated successfully, but these errors were encountered:
Will add test case for it.
Sorry, something went wrong.
We had a couple of bug fixes related to this #3670, so was a bug (but pls add this case in any event)
No branches or pull requests
Here's a weird one from SO. Bug in 0.11.0 (fixed in dev).
In pandas 0.11.0 it produces:
In pandas 0.11.1dev it produces:
The text was updated successfully, but these errors were encountered: