HN user

Liutprand

3 karma
Posts0
Comments5
View on HN
No posts found.
Gemini AI 3 years ago

Not very impressed with Bard code capabilities in my first experiments. I asked him a very basic Python task: to create a script that extracts data from a Postgres DB and save it in a csv file.

This is the result: https://pastebin.com/L3xsLBC2

Line 23 is totally wrong, it does not extract the column names. Only after pointing out the error multiple times he was able to correct it.