i m still struggling to understand why the apply() function perform row wise operation at axis =1...... whereas other functions in pandas axis = 1 is column-wise..
Hello Can you please help in using the apply() for the following: if one wants to increase the power_level by 2000 for the uniforms which have orange. ie how can we modify the entries of one column based on a condition on entries of another column by writing user defined functions and using apply(). I'm kind of struggling a bit on this kind of problem.
I still struggle to understand applications where I would use apply over just taking advantage of regular function broadcasting. I guess it only makes sense if you repeatedly use a similar function, and that function is complex.
You're right. Generally the agg functions are enough, apply() function is suitable in cases where the business logic is complex which cannot be achieved by combination of simple agg functions.
Never thought I would see anyone using Dragon Ball Z reference to explain a python function. Very helpful explanation. Thank you!
Can you use another column as an argument? Sometimes I need to calculate a result based on multiple columns?
You do such a good job of explaining these concepts. Thank you!
thanks for putting the code in the discription. it's very helpful
i m still struggling to understand why the apply() function perform row wise operation at axis =1...... whereas other functions in pandas axis = 1 is column-wise..
I have the same doubt.
Just found your videos, keep up the great work! Thank you!!
Hello Can you please help in using the apply() for the following: if one wants to increase the power_level by 2000 for the uniforms which have orange. ie how can we modify the entries of one column based on a condition on entries of another column by writing user defined functions and using apply(). I'm kind of struggling a bit on this kind of problem.
Thank you, really helpful
But plz use correct order of power level , gohan and Roshi have higher power level .😅
Excellent thank you so much. It's much more intuitive explaining things with dbz references. THANKS SUSCRIBING TO YOUT CHANNEL
It really helped. Nice one.
great examples and explanation, thank you
I still struggle to understand applications where I would use apply over just taking advantage of regular function broadcasting. I guess it only makes sense if you repeatedly use a similar function, and that function is complex.
You're right. Generally the agg functions are enough, apply() function is suitable in cases where the business logic is complex which cannot be achieved by combination of simple agg functions.
cool , thanks for this video
Great review. Thanks.
Thank you for this!!!
Thank you, really helpful :D
great job thank you!
thank you bro
Thanks you so much this was great😀
Love this, thanks.
Thanks dude
Great.