3 ms·
I wonder what kind of dark arts might be required to have this talk to python within one notebook? Would it even be useful?
by chillydawg 9y ago
I wonder what kind of dark arts might be required to have this talk to python within one notebook? Would it even be useful?
- mjburgess 9y agoIn the simplest case, you would parse the text output of a previous cell for the other language.
- fredley 9y agoIf this were possible, it would require the blackest of black magic, and mapping anything other than primitive types across the void would be essentially impossible, e.g. anything useful like a DataFrame.
- catawbasam 9y agoArrow is meant to help with that
- filmor 9y agoOne could implement a kernel that forwards calls to other kernels depending on a prefix and explicit push-and-pull functions to move variables around. That last part would require an extension of the protocol or a parallel channel, but the forwarding kernel is actually not that difficult to implement.
- deleted 9y ago[deleted]