Automatic data visualization in atom with the nteract data-explorer

Overview

Data Explorer

Interactively explore your data directly in atom with hydrogen!

The nteract data-explorer provides automatic data visualization, so you can get a feel for your data quickly and with minimal code!

nteract data explorer in hydrogen

🚧 This is a work in progress. Please open issues and pull requests!

⚠️ As this package has some open issues with styling, the following atom themes are recommended for now:

  • 🎨 Atom One Light syntax theme
  • 🎨 Atom One Light UI theme

How to try it out:

Atom packages:

  • Install both hydrogen and the data-explorer package in atom, or in the cli:
    apm install hydrogen data-explorer

Make sure you have installed:

Then, just start a python kernel in hydrogen and run the following code:

import pandas as pd

# Enable the table_schema option in pandas, 
# data-explorer makes this snippet available with the `dx` prefix:
pd.options.display.html.table_schema = True
pd.options.display.max_rows = None

# (Your dataframe here)
iris_filename = './iris.csv'
df1 = pd.read_csv(iris_filename)

df1
Comments
  • Failed to load the data-explorer package

    Failed to load the data-explorer package

    [Enter steps to reproduce:]

    1. ...
    2. ...

    Atom: 1.32.0 x64 Electron: 2.0.9 OS: Ubuntu 16.04.5 Thrown From: data-explorer package 0.3.1

    Stack Trace

    Failed to load the data-explorer package

    At Cannot find module '@blueprintjs/select'
    
    Error: Cannot find module '@blueprintjs/select'
        at Module._resolveFilename (module.js:543:15)
        at Module._resolveFilename (/usr/share/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.get_Module._resolveFilename (/usr/share/atom/resources/app/static/<embedded>:11:154364)
        at Module.require (/app.asar/static/index.js:40:43)
        at require (/usr/share/atom/resources/app/static/<embedded>:11:145671)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/VizControls.js:20:15)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/VizControls.js:391:3)
        at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146381)
        at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:149928)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (/app.asar/static/index.js:47:45)
        at require (/usr/share/atom/resources/app/static/<embedded>:11:145671)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/index.js:48:43)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/index.js:495:3)
        at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146381)
        at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:149928)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (/app.asar/static/index.js:47:45)
        at require (/usr/share/atom/resources/app/static/<embedded>:11:145671)
        at /packages/data-explorer/lib/common.js:33:2)
        at /packages/data-explorer/lib/common.js:11:76)
        at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146381)
        at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:149928)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
    

    Commands

    Non-Core Packages

    data-explorer 0.3.1 
    Hydrogen 2.6.0 
    hydrogen-launcher 1.2.2 
    hydrogen-python 0.0.7 
    
    opened by cchlanger 10
  • Error compiling Less stylesheet

    Error compiling Less stylesheet

    Hi,

    When installing the data-explorer, I get this error:

    Line number: 3 '../node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css' wasn't found. Tried - /home/lordflaron/.atom/packages/data-explorer/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/node_modules/one-light-syntax/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/node_modules/one-light-ui/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/static/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,../node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css

    Is there a missing dependency I need?

    Thank you so much!

    opened by amichuda 4
  • Unable to open

    Unable to open

    I installed it using apm command, and it can open another window with the name "data-explorer/docker-view", but nothing shows up. I just use cmd+enter to execute the current line "df".

    opened by zhangpanzhan 0
  • crash after clicking on hex plot

    crash after clicking on hex plot

    open data frame, click on hex bin plot. It shows up but then suddenly crashes.

    Atom: 1.35.1 x64 Electron: 2.0.18 OS: Microsoft Windows 10 Pro Thrown From: data-explorer package 0.6.0

    Stack Trace

    Uncaught Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Thu%20Dec%2013%202018%2012%3A01%3A51%20GMT-0800%20(Pacific%20Standard%20Time)&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    At C:\Users\dominikschneider\.atom\packages\data-explorer\node_modules\react-dom\cjs\react-dom.production.min.js:248
    
    Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Thu%20Dec%2013%202018%2012%3A01%3A51%20GMT-0800%20(Pacific%20Standard%20Time)&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
        at ba (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:13:315)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:14:166)
        at Bf (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:137:39)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:141:49)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:143:145)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:147:131
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:164:72)
        at Tg (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:181:151)
        at bi (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:232:22)
        at ci (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:233:284)
        at Di (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:249:348)
        at Yh (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:248:144)
        at Gi (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:250:420)
        at Kb (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:39:140)
        at Dd (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:86:249)
    

    Commands

         -3:17 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:16.3.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:16.3.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:14.1.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:14.1.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:13.6.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:13.6.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:12.2.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:12.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:11.2.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:11.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
      2x -3:09.4.0 core:move-up (input.hidden-input)
      3x -2:54.5.0 core:backspace (input.hidden-input)
         -2:52.5.0 hydrogen:run (input.hidden-input)
         -2:52.5.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
         -2:29 settings-view:open (input.hidden-input)
    

    Non-Core Packages

    autocomplete-python-jedi 1.10.3-0 
    data-explorer 0.6.0 
    file-icons 2.1.31 
    Hydrogen 2.9.0 
    hydrogen-launcher 1.2.2 
    MagicPython 1.1.1 
    platformio-ide-terminal 2.9.1 
    tablr 1.8.3 
    
    opened by dschneiderch 0
  • column resizing issue

    column resizing issue

    Thanks for this super cool extension!

    I thought I'd point out that things go a bit haywire if you try to resize the columns. image

    I'm on Windows 10, Atom 1.34, data-explorer 0.5.0

    opened by dschneiderch 6
  • [WIP] use nteract outputs component

    [WIP] use nteract outputs component

    • [x] Make a custom outputs component that only renders data-explorer output
    • [x] Write some tests
    • [ ] Refactor and simplify the rest of the package and integrate
    • [ ] useEffects to open and close atom dock, toggle user config, and other side effects, replacing that logic in other areas of the package. (bump react to 16.8)

    This should let me up with a nicer package and some learnings to take to future packages/refactors.

    opened by BenRussert 0
Releases(v0.7.0)
Owner
Ben Russert
Video Experience team @bombbomb
Ben Russert
NorthPitch is a python soccer plotting library that sits on top of Matplotlib

NorthPitch is a python soccer plotting library that sits on top of Matplotlib.

Devin Pleuler 30 Feb 22, 2022
A grammar of graphics for Python

plotnine Latest Release License DOI Build Status Coverage Documentation plotnine is an implementation of a grammar of graphics in Python, it is based

Hassan Kibirige 3.3k Jan 01, 2023
An interactive dashboard for visualisation, integration and classification of data using Active Learning.

AstronomicAL An interactive dashboard for visualisation, integration and classification of data using Active Learning. AstronomicAL is a human-in-the-

45 Nov 28, 2022
Visualizations of linear algebra algorithms for people who want a deep understanding

Visualising algorithms on symmetric matrices Examples QR algorithm and LR algorithm Here, we have a GIF animation of an interactive visualisation of t

ogogmad 3 May 05, 2022
Automatically generate GitHub activity!

Commit Bot Automatically generate GitHub activity! We've all wanted to be the developer that commits every day, but that requires a lot of work. Let's

Ricky 4 Jun 07, 2022
Mapomatic - Automatic mapping of compiled circuits to low-noise sub-graphs

mapomatic Automatic mapping of compiled circuits to low-noise sub-graphs Overvie

Qiskit Partners 27 Nov 06, 2022
coordinate to draw the nimbus logo on the graffitiwall

This is a community effort to draw the nimbus logo on beaconcha.in's graffitiwall. get started clone repo with git clone https://github.com/tennisbowl

4 Apr 04, 2022
This is a small program that prints a user friendly, visual representation, of your current bsp tree

bspcq, q for query A bspc analyzer (utility for bspwm) This is a small program that prints a user friendly, visual representation, of your current bsp

nedia 9 Apr 24, 2022
Visualize and compare datasets, target values and associations, with one line of code.

In-depth EDA (target analysis, comparison, feature analysis, correlation) in two lines of code! Sweetviz is an open-source Python library that generat

Francois Bertrand 2.3k Jan 05, 2023
MPL Plotter is a Matplotlib based Python plotting library built with the goal of delivering publication-quality plots concisely.

MPL Plotter is a Matplotlib based Python plotting library built with the goal of delivering publication-quality plots concisely.

Antonio López Rivera 162 Nov 11, 2022
A tool for creating SVG timelines from simple JSON input.

A tool for creating SVG timelines from simple JSON input.

Jason Reisman 432 Dec 30, 2022
3D Vision functions with end-to-end support for deep learning developers, written in Ivy.

Ivy vision focuses predominantly on 3D vision, with functions for camera geometry, image projections, co-ordinate frame transformations, forward warping, inverse warping, optical flow, depth triangul

Ivy 61 Dec 29, 2022
Python library that makes it easy for data scientists to create charts.

Chartify Chartify is a Python library that makes it easy for data scientists to create charts. Why use Chartify? Consistent input data format: Spend l

Spotify 3.2k Jan 04, 2023
nvitop, an interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management

An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management.

Xuehai Pan 1.3k Jan 02, 2023
Displaying plot of death rates from past years in Poland. Data source from these years is in readme

Average-Death-Rate Displaying plot of death rates from past years in Poland The goal collect the data from a CSV file count the ADR (Average Death Rat

Oliwier Szymański 0 Sep 12, 2021
Declarative statistical visualization library for Python

Altair http://altair-viz.github.io Altair is a declarative statistical visualization library for Python. With Altair, you can spend more time understa

Altair 8k Jan 05, 2023
A Jupyter - Three.js bridge

pythreejs A Python / ThreeJS bridge utilizing the Jupyter widget infrastructure. Getting Started Installation Using pip: pip install pythreejs And the

Jupyter Widgets 844 Dec 27, 2022
Interactive Data Visualization in the browser, from Python

Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords hi

Bokeh 17.1k Dec 31, 2022
This is a web application to visualize various famous technical indicators and stocks tickers from user

Visualizing Technical Indicators Using Python and Plotly. Currently facing issues hosting the application on heroku. As soon as I am able to I'll like

4 Aug 04, 2022