While it isn't supported (we don't test its use in this case), you can store objects in a shared hashmap under the kernel object that is made available in each interpreter. The map is exposed as `kernel.data`, but the way you access and store data is different per language.
The signature of the data map on the kernel is `val data: java.util.Map[ String, Any]` and we use a concurrent hashmap, so it can handle being accessed from different threads. On Wed, Nov 2, 2016 at 10:28 AM <[email protected]> wrote: > Hi, > > I’m working primarily using the default scala/spark interpreter. It works > great, except when I need to plot something. Is there a way I can take a > scala object or spark data frame I’ve created in a scala cell and pass it > off to a pyspark cell for plotting? > > This documentation issue, might be related. I’d be happy to try to > document this once I know how :) > > https://issues.apache.org/jira/browse/TOREE-286 > > Thanks! > > Ian > >
