7 ms·
I'll byte: how do you debug chains without intermediate values?
by _ZeD_ 5mo ago
I'll byte: how do you debug chains without intermediate values?
- __mharrison__ 5mo agoDisclaimer: 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).