We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
df1 = pd.DataFrame({"i1" : [0, 1], "i2" : [0, 1]}) df2 = pd.DataFrame({"i1" : [0], "i3" : [0]}) df1.join(df2, on="i1", rsuffix="_")
throws:
pandas-0.10.0-py2.7-linux-x86_64.egg/pandas/tools/merge.pyc in _maybe_add_join_keys(self, result, left_indexer, right_indexer) 224 continue 225 --> 226 left_na_indexer = left_indexer.take(na_indexer) 227 key_col.put(na_indexer, com.take_1d(self.left_join_keys[i], 228 left_na_indexer)) AttributeError: 'NoneType' object has no attribute 'take'
while the following works as expected:
df1 = pd.DataFrame({"i1" : [0, 1], "i2" : [0.5, 1.5]}).set_index("i1") df2 = pd.DataFrame({"i1" : [0], "i3" : [0.7]}).set_index("i1") df1.join(df2, rsuffix="_")
The text was updated successfully, but these errors were encountered:
I think I have a fix for this, see upcoming pull request.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
throws:
while the following works as expected:
The text was updated successfully, but these errors were encountered: