Running Python in the chat
You do not need a file to use Python in the chat. Ask for what you want, and the assistant writes the code. Nothing runs until you press Run, and it runs on your computer with no network.
1. Ask for code
Type what you want and press Send. Here: "Make a small fake dataset of monthly burglary counts for one year in a pandas DataFrame, print it, and plot it as a bar chart with matplotlib. Use one Python block."
Expand2. Press Run
Run is on the bar above the code. What the code prints appears right below it.
Expand3. See the chart
Charts appear under the printed text, in the same place.
ExpandGood to know
- Pandas, matplotlib, and other common data libraries come with the app, so there is nothing to install.