Add converters for tabular data
See original GitHub issue@ellisonbg mentioned that it would be good to support some default tabular data formats, to convert between them.
CSV stringDoneJSON table schemaDone- inline format that Vega supports (basically list of objects)
- Datagrid model object (should be extracted from current CSV viewer implementation).
For each of these, we should define a data type, and define converters between them. Then we should make sure they work on some test datasets.
Some pipelines that should work after this:
- Open CSV files with nteract data viewer, by first converting to JSON table schema
- View pandas dataframe output in datagrid, by going from JSON table schema to datagrid model
- If we create a Vega Lite spec that refers to a dataset by url like
file:///notebooks/Table.ipynb#/cells/4/outputs/0/data/application/vnd.dataresource+json
, then this should use the pandas output from that cell in the notebook as an input to the vega spec. Depends on https://github.com/jupyterlab/jupyterlab-data-explorer/issues/20
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Tabular Data Converter - Rundeck Docs
# Tabular Data Converter ... Parses Tabular text (csv) into a a Java object. The HTML Table View Converter plugin can render this...
Read more >Convert data between formats with Data Converters
Converting an Excel spreadsheet to a CSV or a JSON table with the Data Converters command line tool is easy. Data Converters is...
Read more >Referencing complex data using Room - Android Developers
Room provides functionality for converting between primitive and boxed types but doesn't allow for object references between entities.
Read more >How to: Use a Custom Converter for Export to a DataTable
Subsequently, add an instance of a custom converter to the ... Range; // Create a data table with column names obtained from the...
Read more >Understanding converters - IBM
Converters carry out the conversion of data from InfoSphere MDM ... You must also add those fields to the Critical Data Elements table...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Nestak2 You have to set
pandas.set_option('display.html.table_schema', True)
so that it outputs the JSON, like in this examples.FWIW,
CSVW would be ideal for tabular data (with Linked Data metadata about the dataset and each column). More about this here: “Linked Data formats, tools, challenges, opportunities; CSVW, schema.org/Dataset, schema.org/ScholarlyArticle” https://discuss.ossdata.org/t/linked-data-formats-tools-challenges-opportunities-csvw-schema-org-dataset-schema-org-scholarlyarticle/160