DEV Community

Cover image for AutoTranslation from Python to Javascript in Jupyter
HongKee Moon
HongKee Moon

Posted on

1

AutoTranslation from Python to Javascript in Jupyter

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.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Happy coding!

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay