Not that I didn’t find the intended takeaways interesting too, but .where was my big takeaway from this one - I think it’s exactly the solution to something that’s been bugging me repeatedly (that a if b else c wouldn’t accept b being an array of the same size as a). I’ve had a few serendipitous moments like this from your videos - so thanks again! : )
Yeah tbh I think .where is one of those things that is hiding in plain sight. I want to just put a ternary if in the assignment. But nooooooo it's gotta be weirdly named "where".
Matt Harrison’s book: Effective Pandas, is a masterclass in method chaining.
thanks for sharing. I'm watching your videos and i learned a lot. Would it be possible for you to share the sample workbook?
Yes I will share them in due course. Need to make sure it's tidied up first. Thanks
Not that I didn’t find the intended takeaways interesting too, but .where was my big takeaway from this one - I think it’s exactly the solution to something that’s been bugging me repeatedly (that a if b else c wouldn’t accept b being an array of the same size as a).
I’ve had a few serendipitous moments like this from your videos - so thanks again! : )
Yeah tbh I think .where is one of those things that is hiding in plain sight. I want to just put a ternary if in the assignment. But nooooooo it's gotta be weirdly named "where".
First comment.
Your prize: ⭐