Hacker News new | ask | show | jobs
by _ZeD_ 50 days ago
I'll byte: how do you debug chains without intermediate values?
1 comments

Disclaimer: I wrote a book about pandas that is semi famous because it focuses on chaining. And it has a while chapter on debugging chains.

Debugging: use a debugger, create intermediate variables using .pipe (and side effects), logging, testing, writing your code clearly (use good naming).