BUG: cannot insert/delete to non-unique columns #3679

Closed
jreback opened this Issue May 22, 2013 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

jreback commented May 22, 2013

This currently breaks

In [1]: df = DataFrame([[1,1,1,5],[1,1,2,5],[2,1,3,5]],columns=['foo','bar','foo','hello'])

In [2]: df['string'] = 'bar'

In [3]: df
IndexError: ('index out of bounds', u'occurred at index hello')
Member

cpcloud commented May 22, 2013

this is a ref_locs problem I think. the new block is not added to ref_locs.

Contributor

jreback commented May 22, 2013

I am almost done
it's a bit non trivial

jreback closed this in #3683 May 30, 2013

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