Comments (4)
@suvayu per a quick test on http://vega.github.io/voyager/
This is the behavior directly from Voyager. I'm not sure if they chose not to create fallbacks for a valid reason -- usually it's best practice to not manipulate data received in anyway.
@saulshanabrook what do you think about adding in a fallback for handling empty columns in data?
from jupyterlab_voyager.
Can you post more information about your issue, as there's some known potential issues with some .csv files, but most of the .csvs i have been trying do open properly
Firstly, can you try to open up the data.csv in test/data included within this repository
1.Steps to reproduce(including the dateset you're trying)
2.Any relevant logs from jupyterlab
3.Any relevant logs from JavaScript console
from jupyterlab_voyager.
@playermanny2 I digged a bit deeper, it turns out this error happens when there is an empty column name in the csv. In my case I had exported the csv from pandas with DataFrame.to_csv(..)
. By default (if you specify only the file name and nothing else, then header=True, index=True, index_label=None
), the column name for index is empty. When I manually edit and add the index column name, the csv opens without issues.
Since this is rather common, maybe Voyager should assume a place holder like: column_n
, if the column name is empty?
from jupyterlab_voyager.
Thanks for digging into this deeper --will have to take a look at this a bit deeper to see if this is a problem with voyager itself not being able to handle empty column names or our extension.
The fallback seems like it could be a viable route
from jupyterlab_voyager.
Related Issues (20)
- Changes to IDocumentWidget in JupyterLab 0.33 break voyager extension HOT 1
- Extension is not working for jupyter lab 0.33.11 HOT 12
- Build Error: Cannot find module 'jupyterlab_voyager/package.json'
- Add support for semi-colon separated text files? HOT 1
- MyBinder build fails HOT 1
- Cannot install the Jupyter Lab extension HOT 11
- Can not install HOT 1
- Unable to load csv file, getting error: cannot read property of 'var' undefined HOT 1
- Fix mybinder from having conflicting dependencies HOT 2
- Travis Build Failing HOT 1
- Update to Jupyter
- Update to JupyterLab 1.0 HOT 3
- Launch from pandas dataframe: website says possible, but can't find? HOT 2
- KeyError: '@jupyterlab/apputils' when installing voyager? HOT 12
- Support jupyterlab 1.1.3 HOT 5
- Skip 1.1.3 and support jupyterlab 1.1.4👍 HOT 9
- Todo: Save Voyager state in widget, so that when window is reloaded it will preserve what you have selected.
- Current version of JupyterLab not supported. HOT 8
- sass-loader compilation error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab_voyager.