The code interpreter feature on ChatGPT is the most mind blowing thing I've seen yet. All I did was upload a CSV of SF crime data and ask it to visualize trends(!!)

Apr 29, 2023 · 10:05 PM UTC

lmao I love the meta aspect of this tweet getting attention. Here is what I asked ChatGPT before doing these visualizations.
Replying to @backus
Impressive - I’m still waiting for plugins
YMMV but just paying for pro and being an active user seems to result in me getting access to everything early
Replying to @backus
Did you check for correctness? I get a lot of bs using langchain agents and csv
I looked at the pandas code. For what is in this tweet I didn't inspect too deeply. My actual "wow holy crap moment" was using this to process data I spent a week doing data science on for work and having it spit out many of the same conclusions I had. Can't tweet that though.
Replying to @backus
What did the data set look like? Some CSV table?
This dataset: data.sfgov.org/Public-Safety… All I did was remove some columns (wasn't really necessary) and gzipped it so it was under the 100MB size limit
Replying to @backus
Do you know how GPT performs its analysis? Does it do so by running Python or SQL scripts on top of a CSV file? Or does it read the entire dataset without running any code?
yes it has a Jupyter notebook on the backend it is maintaining and it writes python to do the analysis. You can click "show work" whenever it drops into the notebook. This is what it wrote for the first few charts + heatmap