简体   繁体   中英

How to use the Vegas visualization within a scala-spark jupyter notebook

When using the scala kernel with Vegas we see the nice charts

在此处输入图片说明

But when switching to the scala-spark kernel the imports no longer work:

在此处输入图片说明

What is the way to fix the imports for the spark kernel?

As described here you'll probably need to tweak your notebook config to pre-load those libraries, so they are available at runtime.

Then you can do a normal import (without the funny $ivy syntax, which actually comes from Ammonite REPL).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM