Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Series.str.get_dummies fails if one of the categorical variables is called 'name' #12180
Comments
|
I think this is a bug in |
jreback
added Bug Strings Difficulty Novice Effort Low
labels
Jan 30, 2016
jreback
added this to the
Next Major Release
milestone
Jan 30, 2016
|
@DGrady want to take a crack at it? |
|
Absolutely — I'll take a look at it later today. |
DGrady
added a commit
to DGrady/pandas
that referenced
this issue
Feb 1, 2016
|
|
DGrady |
aa19dbf
|
DGrady
referenced
this issue
Feb 1, 2016
Closed
BUG: Handle variables named 'name' in get_dummies, #12180 #12192
jreback
modified the milestone: 0.18.0, Next Major Release
Feb 1, 2016
jreback
closed this
in 34d9839
Feb 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DGrady commentedJan 29, 2016
This works as expected:
However, if any of the categorical variables is named exactly
'name', then there's a problem.This is presumably related to the
pandas/core/strings.pycode in the stacktrace.