Select 20 random U.S. equities
then it does the first part of inferring the name of the column correctly asset_class
but not on the second bit which should be df[df[asset_class] == 'U.S. Equity']]
but it produces df[df[asset_class] == 'U.S. equities']]
U.S. Equity
and not U.S. equities
. But couldn't we get accurate results if we could pass that granular information about column values as well. Does this make sense?query_engine._pandas_prompt.prompt