Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
KeyError when using str.cat and index was changed #7857
Comments
jreback
added Bug Strings
labels
Jul 28, 2014
jreback
added this to the
0.15.0
milestone
Jul 28, 2014
|
this looks like a bug in the impl of care to do a PR? |
toobaz
referenced
this issue
Jul 28, 2014
Closed
BUG: Check the first element of "others.values" rather than "others". #7859
|
Indeed, this fixes the issue (although I must admit I didn't exert much effort in understanding the code apart from that line). |
|
hah....the problem is that since actually maybe this should be
|
|
I am a bit lost (i understood the diagnosis, not the cure)... but will take a look again in the next days. |
toobaz
referenced
this issue
Aug 2, 2014
Merged
BUG: do not assume 0 is in index of potential Series #7902
|
This seems to work in all cases I can conceive... |
toobaz commentedJul 28, 2014
... so far, everything is fine. Now filter the index and retry:
... you will get a KeyError (tested against git, commit 90fa87e ):