Shay Palachy Affek
1 min readDec 7, 2019

--

Hey Tirthajyoti Sarkar

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

--

--

Shay Palachy Affek
Shay Palachy Affek

Written by Shay Palachy Affek

Data Science Consultant. Teacher @ Tel Aviv University's business school. CEO @ Datahack nonprofit. www.shaypalachy.com

No responses yet