I\'m trying to replicate, roughly, the dplyr package from R using Python/Pandas (as a learning exercise). Something I\'m stuck on is the \"piping\" functionality.
In
You can use sspipe library, and use the following syntax:
from sspipe import p df = df | p(select, 'one') \ | p(rename, one = 'new_one')