I'm new in Python and I wonder if there is a way to use the last execution in the same code line. In R you can do that with pipes (%>%).
For example:
In R you can do this:
list(filter(lambda x: '_LI' not in x,BI.columns))) %>% list(filter(lambda x: '_LS' not in x,.)
that is the same as:
list(filter(lambda x: '_LS' not in x,list(filter(lambda x: '_LI' not in x,BI.columns))))
That last one works fine in Python but I like more the first way and I want to do the same in Python. Is it possible?