Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BUG: output of a transform is cast to dtype of input #10972
Comments
TomAugspurger
added Groupby Dtypes
labels
Sep 2, 2015
TomAugspurger
added this to the
0.18.0
milestone
Sep 2, 2015
|
This is only a problem with transform; apply does this kind of inference
|
jreback
added Prio-medium Difficulty Intermediate Effort Low
labels
Sep 2, 2015
jreback
modified the milestone: Next Major Release, 0.18.0
Sep 2, 2015
|
Yeah, I've switched to apply for now. My actual case was transforming an integer to categorical (which raised an exception). |
|
doesn't make sense to |
|
Not that simple in my case. Have to groupby a level and do some shift / diff logic to get my result. |
This was referenced Sep 28, 2015
jreback
modified the milestone: 0.18.1, Next Major Release
Mar 12, 2016
jreback
modified the milestone: 0.18.1, 0.18.2
Apr 26, 2016
This was referenced Apr 30, 2016
jorisvandenbossche
modified the milestone: 0.20.0, 0.19.0
Aug 21, 2016
jreback
referenced
this issue
Jan 27, 2017
Closed
Length/size of datetime groups cast as datetimes #15246
nbonnotte
added a commit
to nbonnotte/pandas
that referenced
this issue
Jan 29, 2017
|
|
nbonnotte |
bb8beef
|
This was referenced Jan 29, 2017
jreback
added a commit
to jreback/pandas
that referenced
this issue
Feb 27, 2017
|
|
jreback |
f5f244a
|
jreback
added a commit
to jreback/pandas
that referenced
this issue
Feb 27, 2017
|
|
jreback |
787feba
|
jreback
closed this
in 251826f
Feb 27, 2017
AnkurDedania
added a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
|
|
jreback + AnkurDedania |
ca8c53c
|
chris-b1
referenced
this issue
Jul 10, 2017
Closed
BUG: coercing of bools in groupby transform #16875
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TomAugspurger commentedSep 2, 2015
•
edited by jreback
xref #11444, #13046 for addtl tests
I expected a float. No idea how difficult this will be so I marked it for 0.18. I won't have time to get to it any earlier, but if someone else wants to...