项目作者: RandomFractals

项目描述 :
Data Table 🈸 for Notebook 📓 cell ⌗ data outputs.
高级语言: JavaScript
项目地址: git://github.com/RandomFractals/vscode-data-table.git
创建时间: 2021-05-11T12:57:36Z
项目社区:https://github.com/RandomFractals/vscode-data-table

开源协议:Apache License 2.0

下载


vscode-data-table

Apache-2.0 License
Version
Installs
Downloads

https://ko-fi.com/dataPixy





Data Table Renderers for VSCode Notebooks 📚

See Data Preview 🈸 vscode extension for a generic Grid Data Viewer with many common data formats support, search, sort, filters, grouping, splits, pivot tables, aggregates and basic charts 📊.

Support

These Data Table Renderers were created to enhance raw data views in Jupyter and custom VSCode Notebooks 📚.

Please consider becoming a Fan and sponsoring our dev efforts on this and other Random Fractals, Inc. code and data viz extensions if you find them useful, educational, or enhancing your daily dataViz/dev code workflows and exploratory data analysis:

☕️ https://ko-fi.com/dataPixy
💖 https://github.com/sponsors/RandomFractals

Data Table 🈸 Renderers

Data Table Renderers is a collection of custom tabular data renderers for vscode notebooks.

Data Table 🈸 Renderers

🈸 Features

Flat Data Grid 中 in browser

Data Table 🈸 Renderer View

Data Table 🈸 Notebook 📓 cell ⌗ output renderer uses Observable Inputs Table component for fast incremental data display and scrolling of datasets loaded in VSCode Notebooks 📚

Data Table 🈸 Renderer View

Observable Data Table 🈸 Viewer 📓

You can also use our generic @randomfractals/data-table-viewer">Data Table Viewer 📓 notebook to preview public datasets in a browser:

Observable Data Table 🈸 Viewer 📓

Or use it in vscode with Observable JS Notebook 📓 Inspector 🕵️:

Observable JS Data Table 🈸 Viewer 📓 Inspector 🕵️

Or load Data Table 🈸 Viewer 📓 with Observable JS vscode extension:

Observable JS Data Table 🈸 Viewer 📓

Data Summary 📊 Renderer View

This general purpose Data Table 🈸 Renderer extension also includes Data Summary 📊 Renderer based on modifield @observablehq/summary-table">Observable Summary Table component for a quick overview of datasets loaded in VSCode Notebooks 📚

Data Summary 📊 Renderer View

Flat Data 中 Grid Renderer

Flat Data Grid renderer is the latest addition to this custom tabular data renderers collection vscode extension. It’s based on the Flat UI React data grid component library created by the GitHub Next dev team & used in Flat Data viewer on flatgithub.com.

Flat Data 中 Grid Renderer Example

🈸 Examples

Data Table 🈸 for Notebooks 📚 extension v1.6.0 and up ships with built-in Notebook examples. You can access provided Notebook Examples listed below via Data Table: Notebook Examples command from View -> Command Palette... vscode menu:

Data Table 🈸 Notebook Examples

Runme Notebook Example

  1. Install Runme vscode extension

  2. Load notebooks/world-lakes.md document

  3. Click on ▶️ in the markdown text editor context menu to Open markdown as Runme 📓.

  4. Run All ᐅ cells ⌗

  5. Click on ... in the gutter of the curl command cell and Change Presentation to one of the Data Table 🈸 renderers or Leaflet 🍃 Map 🗺️ renderer:

World Lakes Runme Notebook 📓

REST Book Example

  1. Install REST Book 📓 vscode extension

  2. Load Chicago Traffic Tracker REST Book 📓

  3. Run All ᐅ cells ⌗

  4. Click on ... in the gutter of GET data output and change it to Data Table 🈸 renderer:

Chicago Traffic Data REST Book 📓

Python Notebook Example

  1. Install vega_datasets and altair Python libraries via pip or conda:
  1. $ pip install altair vega_datasets

or

  1. $ conda install -c conda-forge altair vega_datasets
  1. Load Iris Vega Data Python 🐍 Notebook 📓

  2. Run All ᐅ cells ⌗

  3. Click on ... in the gutter of iris data output and change it to Data Table 🈸 renderer:

Iris Vega Data Table 🈸 View

or switch it to Data Summary 🈷️ renderer:

Iris Vega Data Table 🈷️ View

TypeScript Notebook Example

  1. Install TypeScript Notebooks 📚 vscode extension

  2. Download USA Airports data files

  3. Load USA Airports TypeScript Notebook 📓

  4. Run All ᐅ cells ⌗ to view local CSV and JSON text data outputs with Data Table 🈸:

USA Airports TypeScript Notebook 📓

Also, try new USA State Capitals TypesScript Notebook 📓 with GeoJSON node-fetch and Flat Data Grid renderer from built-in Notebook Examples:

USA State Capitals TypeScript Notebook 📓

.NET Interactive Notebook Example

  1. Install .NET Install Tool for Extension Authors vscode extension

  2. Install .NET Interactive Notebooks 📚 vscode extension

  3. Load Chicago Speed Cameras .NET Interactive Notebook 📓

  4. Run All ᐅ cells ⌗:

Chicago Speed Cameras .NET Interactive Notebook 📓

Pyolite Notebook Example

  1. Install Pyodide 🐍 vscode extension

  2. Load Chicago Red Light Cameras Pyolite Notebook 📓

  3. Run All ᐅ cells ⌗:

Chicago Red Light Cameras Pyolite Notebook 📓

Geo 🌐 Data Table 🈸 View

  1. Install REST Book 📓 vscode extension

  2. Load World 🌐 Rivers REST Book 📓

  3. Run All ᐅ cells ⌗

  4. Click on ... in the gutter of GET data output and change it to Data Table 🈸 for geo table view:

World 🌐 Rivers Geo Data REST Book 📓

XML Data Table 🈸 View

  1. Load World 🌐 GDP REST Book 📓

  2. Run All ᐅ cells ⌗

  3. Click on ... in the gutter of GET data output and change it to Data Table 🈸 for XML data table view:

World 🌐 GDP Data REST Book 📓

Text Oputput View

Data Table 🈸 renderer displays data that is not in CSV, GeoJSON or JSON array data format in a scrollable text container:

Text Output Notebook 📓 View

Data Table Renderers Extension Dependency

You can add our Data Table 🈸 Notebook 📓 Renderers dependency to your custom VSCode notebook kernels to enable users of your custom notebooks to view data with our Data Table renderers by declaring extension dependency in your VSCode extension package.json:

  1. "extensionDependencies": [
  2. "RandomFractalsInc.vscode-data-table"
  3. ],

See VSCode Extension Manifest doc for more info.

Recommended Extensions

Recommended extensions for working with Interactive Notebooks 📚, data 🈸, charts 📈, and geo 🗺️ data formats in VSCode:

Extension Description
Data Preivew 🈸 Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro & Excel data files
Geo Data Viewer 🗺️ kepler.gl Geo Data Analytics tool to gen. some snazzy 🗺️s w/0 Py 🐍 pyWidgets ⚙️ pandas 🐼 or react ⚛️
Vega Viewer 📈 Provides Interactive Preview of Vega & Vega-Lite maps 🗺️ & graphs 📈
Leaflet 🍃 Map 🗺️ Leaflet 🍃 Map 🗺️ for Notebook 📓 cell ⌗ data outputs
JS Notebook 📓 Inspector 🕵️ Provides Interactive Preview of Observable JS Notebooks 📚, Notebook 📓 nodes ⎇ & cells ⌗ source code
Observable JS Observable Notebooks 📚 Interpreter with VSCode Notebook view support, @observablehq/observable-for-jupyter-users?collection=@observablehq/observable-for-jupyter-users">Observable js and md code outlines and previews
Runme ▶️ Runme executes commands and code blocks from markdown documents, and provides direct CLI integration and multi-language support in Visual Studio Code markdown text editor and markdown-based notebooks.
DeltaXML XPath Notebook XPath 3.1 Notebook 📓 for Visual Studio Code

Dev Log

See #DataTableView 🈸 & #DataTableRenderers tags on our Twitter feed for the latest & greatest updates on this vscode extension & what’s next in store for new data tools in vscode.

Dev Build

  1. $ git clone https://github.com/RandomFractals/vscode-data-table
  2. $ cd vscode-data-table
  3. $ npm install
  4. $ npm run compile
  5. $ code .

F5 to launch Data Table extension VSCode debug session.

||

  1. vscode-data-table>vsce package

to generate VSIX Data Table extension package with vsce from our latest for local dev install in VSCode.

Contributions

Any and all test, code or feedback contributions are welcome.

Open an issue or create a pull request to make this Data Table 🈸 Renderers vscode notebooks 📚 extension work better for all.

Backers


support me on ko-fi.com