blockpy
blockpy copied to clipboard
Editable CSV Files
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.
- 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.
- 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.
- 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.