Merge branch 'main' into glow

This commit is contained in:
Paul Gauthier 2023-05-24 13:38:35 -07:00
commit a55c4777ca
2 changed files with 10 additions and 8 deletions

View file

@ -2,7 +2,7 @@
`aider` is a command-line chat tool that allows you to write and edit
code with GPT-4 in the terminal. You can ask GPT to help you start
a new project, or to add features to your existing code.
a new project, or add features to your existing code.
`aider` is especially useful for working with code in a git repo, as
it will automatically commit GPT's code changes with a descriptive
commit message.

View file

@ -4,7 +4,9 @@
Inspired by
[Ethan Mollick's recent blog article about ChatGPT plugins](https://www.oneusefulthing.org/p/it-is-starting-to-get-strange),
I used `aider` and GPT-4 to do data analysis of some US Census data.
I had GPT-4 tell me how to download census data, suggest some hypotheses to test and then write the code to test one and provide a summary and plot of the results.
I asked GPT-4 how to download census data and to suggest some
hypotheses to test. I asked it to write the code to get the data, test one of the
hypotheses and provide a summary and plot of the results.
## Chat transcript
@ -238,12 +240,12 @@ After applying these changes, the code will print a summary table showing the co
#### /run python3 new_file/getdata.py
> Add the output to the chat? y
>
>```
>Summary Table:
Correlation between population density and housing prices: 0.16020298445808737
>```
>```
>Summary Table:
>Correlation between population density and housing prices: 0.16020298445808737
>```
>
> Add the output to the chat? y
Great! The script seems to be working as expected. The correlation between population density and housing prices is 0.1602. If you need any further assistance or modifications to the code, please let me know.