-
Notifications
You must be signed in to change notification settings - Fork 30
Home
Run Node.js code in Jupyter notebooks
Exploit the power of Node.js in Jupyter notebooks using pixiedust_node
, an open source Python library.
Cognitive & Data Analytics
Notebooks are where data scientists process, analyze, and visualize data in an iterative, collaborative environment. They typically run environments for languages like Python, R, and Scala. For years, data science notebooks have served academics and research scientists as a scratchpad for writing code, refining algorithms, and sharing and proving their work. Today, it's a workflow that lends itself well to web developers experimenting with data sets in Node.js.
To that end, pixiedust_node is an add-on for Jupyter notebooks that allows Node.js/JavaScript to run inside notebook cells. Not only can web developers use the same workflow for collaborating in Node.js, but they can also use the same tools to work with existing data scientists working in Python.
N/A
N/A
This Jupyter notebook outlines how to run Node.js code in Watson Studio or a local environment using the pixiedust_node
library. By following the getting started instructions you will learn how to
- use variables, functions, and promises,
- work with remote data sources, such as Apache CouchDB (or its managed sibling Cloudant),
- visualize data, and
- share data between Python and Node.js.
- Install Node.js in target environment (Watson Studio or a local machine)
- Open Node.js notebook in target environment
- Run Node.js notebook
- Watson Studio: Analyze data using RStudio, Jupyter, and Python in a configured, collaborative environment that includes IBM value-adds, such as managed Spark.
-
Jupyter Notebooks: An open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.
-
PixieDust Open source toolkit library for Jupyter notebooks
-
pixiedust_node Open source Python package, providing support for Javascript/Node.js code
This code pattern is based on a series of blog posts that were first published by Glynn Bird on medium.com.
https://medium.com/ibm-watson-data-lab/running-node-js-notebooks-in-watson-studio-a8f6545d8299