API: non-unique indexing on Series #4246

Closed
jreback opened this Issue Jul 15, 2013 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

jreback commented Jul 15, 2013

The following currently are exceptions in master(the corresponding operations on DataFrames work though)

In [4]: s = Series([1,2,3,4],['foo','bar','foo','bah'])

In [5]: s.ix[['foo','bar','bah','bam']]
NotImplementedError: cannot handle non-unique indexing for non-DataFrame (yet)

In [6]: s[['foo','bar','bah','bam']]
AssertionError: Index length did not match values
Member

cpcloud commented Jul 15, 2013

will this be solved by the series-ndframe refactor or is it a simple fix?

Contributor

jreback commented Jul 15, 2013

nah....not simple, but not too ..hard...already did the PR (this was just to document)

jreback closed this in #4247 Jul 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment