Advanced Data Analysis (formerly Code Interpreter) allows ChatGPT to write and execute Python code in a secure sandboxed environment. It can process files, generate charts, and perform complex math.
| Task | How it works |
|---|---|
| Data Cleaning | Upload a messy CSV; ChatGPT writes pandas code to clean and restructure it. |
| Data Visualization | Ask for a graph; it uses matplotlib or seaborn to generate and display an image. |
| File Conversion | Upload a PDF and ask it to extract the text into a Word document. |
Simply click the attachment icon (paperclip) in ChatGPT, upload your file (CSV, Excel, PDF, images), and ask a question about the data. The model will seamlessly write Python code, execute it, and provide the results.