I've seen enough examples of an LLM misinterpreting a column or row - resulting in returning the incorrect answer to a question because it was off by one in one of the directions - that I'm nervous about trusting them for this.
JSON objects are different - there the key/value relationship is closer in the set of tokens which usually makes it more reliable.
yeah... so, you want to two step it. Parse the table into something structured, then answer the question. For a lot of LLM "problems", it's about the same as teaching a kid a multi-step problem in math - if you try to do it in one step, you are going to have a hard time .
JSON objects are different - there the key/value relationship is closer in the set of tokens which usually makes it more reliable.