great video thanks, there might be a slight typo in your code, when you do that msp = lambda x: x['sales'] / x['discount'] . And this typo can be simply corrected by this 'peace of code' unit_price = lambda x: x['sales']/(1-x['discount'])/x['quantity'], here as an output you will also have a unit price, skipping all those steps with solving the infinity problem in your code, when you do that msp =
Not able to implement a use case where I need to create a column with ternery operator using assign. It works with apply but not assign. Can you show if ternery operation is possible with assign?
Awesome this
Wow, I'm amazed. Explained so well. Thanks for the video
Thanks for the feedback Quadir
Really good presentation very helpful :)
Glad it was helpful!
Am learning a lot from you sir ...
Thank you...
I am glad, you find it helpful :)
great video thanks, there might be a slight typo in your code, when you do that msp = lambda x: x['sales'] / x['discount'] . And this typo can be simply corrected by this 'peace of code' unit_price = lambda x: x['sales']/(1-x['discount'])/x['quantity'], here as an output you will also have a unit price, skipping all those steps with solving the infinity problem in your code, when you do that msp =
Not able to implement a use case where I need to create a column with ternery operator using assign. It works with apply but not assign. Can you show if ternery operation is possible with assign?