Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Stack overflow on applying numpy functions to DataFrame with duplicated column entries. #11611
Comments
|
this is specifically with iteration needs to use pull-requests to fix are welcome |
jreback
added Bug Reshaping Difficulty Novice Compat Effort Low
labels
Nov 16, 2015
jreback
added this to the
Next Major Release
milestone
Nov 16, 2015
skycaptain
referenced
this issue
Nov 16, 2015
Closed
BUG: fix col iteration in DataFrame.round, #11611 #11618
jreback
modified the milestone: 0.17.1, Next Major Release
Nov 20, 2015
jreback
added a commit
that referenced
this issue
Nov 20, 2015
|
|
skycaptain + jreback |
80a2d53
|
|
closed by #11618 |
jreback
closed this
Nov 20, 2015
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Dec 3, 2015
|
|
yarikoptic |
9b2e35f
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
skycaptain commentedNov 16, 2015
Applying a numpy function, such as
np.round, to a DataFrame with duplicated column indicies can cause an unrecoverable stack overflow error (Fatal Python error: Cannot recover from stack overflow.), which causes e.g. a ipython kernel to crash. E.g. take the following example, where python crashes at line 4:However, removing the duplicate column entries, works as expected:
python 3.5.0, numpy 1.10.1, pandas 0.17.0