-

- -

Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Monday, August 24, 2020

DNotebook Tutorial: The Javascript Version of Python's Jupyter Notebook

 .

DNOTEBOOK

Dnotebook allows you to create and share pages that contain live code, text and visualizations in a textbook-like manner.

We are redesigning Dnotebook to feel more native. Track progress in this epic issue, project board.

Features:

  • Easily perform interactive data exploration and analysis using efficient JavaScript packages like Danfo.js.
  • Easily build, train and prototype machine learning models using different tools like Tensorflow.js
  • Learn JavaScript in an interactive/visual style. This can hasten learning and understanding.
  • Plain Experimentation/Prototyping. Any experimentation performed in JavaScript can run on Dnotebooks.

.

REFERENCE: https://dnotebook.jsdata.org/getting-started

.

TRY RUNNING DNOTEBOOK ON STACKBLITZ

0) You should have a StackBlitz account first.

1) Create a node.js project

2) Enter the following package.json data:

::

::

3) Run (using terminal command)

>npm install

>dnotebook

4) Use dnotebook in the browser

5) Try uploading json data from https://pastebin.com/raw/K8gcmPb4

::

::

You should be getting the following output





Tuesday, January 30, 2018

ObservableHq Tutorial: Introduction to Data (JavaScript ML Notebook Alternative To Python ML Jupyter Notebook)

.

Introduction to Data

How do you get data into Observable for analysis and visualization? Depending on its form and where it lives, there are a variety of ways:

  • inline - embedded in the notebook as code, for small amounts of data
  • files - attached to the notebook, for medium amounts of data (e.g., CSV, SQLite)
  • APIs - queried from a remote server, for programmatic access to data
  • databases - via an Observable database client, for accessing SQL databases

You can also download generated data from notebooks.

.

https://observablehq.com/@observablehq/introduction-to-data

.

SQLite

Observable has built-in support for SQLite, “a small, fast, self-contained, high-reliability, full-featured, SQL database engine” and “the most used database engine in the world.” Observable’s SQLite client uses sql.js, an Emscripten port of SQLite.

After attaching a SQLite file to your notebook, create a SQLite database client by calling file.sqlite().

.

https://observablehq.com/@observablehq/sqlite

.