loading...
Cover image for AutoTranslation from Python to Javascript in Jupyter

AutoTranslation from Python to Javascript in Jupyter

hkmoon profile image HongKee Moon ・1 min read

Today, we are going to think about how to bridge the data to different kernel. BeakerX project is quite useful as an extension of Jupyter notebook in order to use various kinds different languages which are based on Java. Therefore, when I have some chances to learn other languages, I can easily learn it from Jupyter notebook. It supports Clojure, Groovy, Java, Kotlin, R, SQL, Scala:

BeakerX

This extension also gives a way to bridge between different kernels for exchange of the data, called AutoTranslation (refer: https://github.com/twosigma/beakerx).

Firstly, I generate random histogram data in Python. Then, we use beakerx data holder to save them. Secondly, we are going to use them for showing in amCharts.

Here are whole source code which you can copy & paste. However, you should install BeakerX for your Jupyter. Please, read the instruction in https://github.com/twosigma/beakerx for more information.

Happy coding!

Posted on by:

Discussion

pic
Editor guide