Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Chat knows how to merge CSVs with pandas. You just need to know how to prompt it correctly. (Or at least it did at the start of this year when I gave a keynote at PyCon Philippines with that exact use case.)


seems simple and obvious but not when the columns have different keys, and there could be one or more keys to match upon. i would be curious to see how you can prompt that?

and you are correct, you just need to know how to prompt it correctly by going back to first principles, just like what i did.


Tossing in the first few rows of the CSV in the prompt helps.


no kidding?

this industry should stop telling people: "you are just prompting wrong" when they've never seen the prompting session.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: