![]() The script provides an outline you can change the two passes to get what you want. I suspect this still isn't what you want, because each unique data element gets its own column in the csv file. That didn't seem to make much sense, so here's a script that creates a new csv row for each top-level object in the json file. Your script seems to create a one row csv file with each data element having a separate column. PS: I've done the above in Python 3.8.2 so I'd like you to focus on a version of Python >= 3.6 ![]() I'm specifically looking for a review orientated on memory optimizations which probably comes with a cost of a slower running time (that's fine) but any other overall improvements are welcome! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |