jbn/nbmerge

Move all imports to the top

Opened this issue · 2 comments

Just wondering if it would be nice to add a feature where it moves all imports to the top and deduplicates them?

PS very useful package!

jbn commented

I think that could be a useful feature in some circumstances. But, in others it would be a problem. For example, I use this primarily to join my dissertation chapters into one document before conversion to PDF. What I need (and wrote) is something that elides certain cell types. I'll release that code as a separate repo soon. I'll keep this open as a reminder to ping you when I do.

Your idea would be a good contribution to that library!