Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable CSV Files #100

Open
acbart opened this issue Aug 13, 2020 · 0 comments
Open

Editable CSV Files #100

acbart opened this issue Aug 13, 2020 · 0 comments

Comments

@acbart
Copy link
Contributor

acbart commented Aug 13, 2020

Is BlockPy the best introductory block-based data science environment for Python? I don't know, but not if you can't edit CSV files easily. You can create arbitrary files and read them in, so we're pretty far along with that though.

  1. CSV module for skulpt. Can't just copy/paste the Python one, since it is written in C. However, we could probably do something similar to what we do for the JSON module: Take an existing JavaScript CSV parser and use it to provide the interface.
  2. Editable table support in BlockPy CSV files. Pick a good off-the-shelf JS module like Tabulator and slap it in. Probably just copy most of the code used in instructions.
  3. See if we need a custom block to load a CSV file, or at least provide the block configuration to turn it into a list of dictionaries or something.

We also might add in JSON editing support too, while we're in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant