Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
PERF: transform speedup #6496
Comments
jreback
added this to the
0.14.0
milestone
Feb 27, 2014
jreback
added Groupby Performance
labels
Feb 27, 2014
|
That last one doesn't actually work for me for a familiar reason:
with versions
I guess the numpy fixes from the other day didn't address this case. |
|
and actually don't need to do that as this (and maybe already done in the
|
|
@dsm054 want to implement this? |
jreback
modified the milestone: 0.14.1, 0.14.0
Apr 28, 2014
jreback
referenced
this issue
Jun 6, 2014
Closed
transform function is very slow in 0.14 - similar to issue #2121 #7383
|
@dsm054 interested? |
jreback
closed this
in #7421
Jun 11, 2014
jreback
referenced
this issue
Aug 10, 2014
Merged
PERF: perf improvements for Series.transform (revised) (GH6496) #7975
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jreback commentedFeb 27, 2014
http://stackoverflow.com/questions/22072943/faster-way-to-transform-group-with-mean-value-in-pandas/22073449#22073449
I think this actually will work in a general case. but prob only really makes sense when you have a cythonized work function (or a ufunc) that is much faster than iteratively calling the groups.
Using broadcasting
I think you might need to set the index of the returned on the broadcast result (it happens to work here because its a default index
Final Result is best