AI-Generated Code Looked Right, but the Data Was Wrong

Piotr
I'm working on an AI Data Analyst in MLJAR Studio. The idea is simple: you ask a question in natural language, AI writes Python code, executes it, and shows the result. But recently I found a small example that reminded me why AI data analysis needs more than code generation. The code worked I was testing a medical data analysis use case with a diabetes CSV file. The first task was simple: load data from this URL AI generated Pandas code with read_csv() . The code executed without errors. The da