1 min readDec 7, 2019
I’ve added the RowDrop
stage to pdpipe
in the latest release, v0.0.33
, which can solve one of the more complex operations in your blog post in a single pipeline stage. Instead of three stages, you can remove all rows for which the price is smaller or equal to 250000 by using the following stage:pdp.RowDrop({'Price': lambda x: x <= 250000})
If you don’t mind, I’d love for you to update the blog post, so the cleaner solution is presented.
Thanks!
Shay