How To Use Assign Method In Pandas DataFrame

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 9

  • @freelancer-mdshamim
    @freelancer-mdshamim Před rokem +1

    Awesome this

  • @quadirnawaz67
    @quadirnawaz67 Před rokem +1

    Wow, I'm amazed. Explained so well. Thanks for the video

  • @robertc2121
    @robertc2121 Před 7 měsíci +1

    Really good presentation very helpful :)

  • @vamsikrishna6406
    @vamsikrishna6406 Před rokem +1

    Am learning a lot from you sir ...
    Thank you...

  • @sanjarsanjarov4262
    @sanjarsanjarov4262 Před 8 měsíci +1

    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 =

  • @pmgvalentia
    @pmgvalentia Před 4 měsíci +1

    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?