4 ms·Quick pdb trick for pipe-ers, you can stick this in the middle: .pipe(lambda df: (df, pdb.set_trace())[0])by henrydark 4y agoQuick pdb trick for pipe-ers, you can stick this in the middle: .pipe(lambda df: (df, pdb.set_trace())[0])nojito 4y ago.pipe is very very slow.shoyer 4y agodf.pipe(f, ...) is just syntactic sugar for f(df, ...). Nothing slow about it.nicoburns 4y agoExecuting functions in python is slow!persedes 4y agoI use .pipe(lambda x: x....) very often in my code, makes it feel more like I'm using dplyr...