When using PandasQueryEngine, does anyone know how it can use the pd (pandas) library? I'm trying to get it to generate queries using pd.to_numeric but PandasQueryEngine errors out saying that it doesn't have access to that library.
If this isn't possible, i'm potentially just considering spinning up an ad-hoc sandbox environment and using the Pandas library there directly. Would love to have the convenience of just using PandasQueryEngine directly though.
(Note that in a few days, I'm putting out an update to move pandas query engine into llama-index-experimental -- it allows for arbitrary code execution, and tbh the security issues on the package are a pain lol)
@Logan M Sorry to bother you, but while I have you - what's the best way to store IndexNodes? I understand that we can store TextNodes in DocStores, but do we store IndexNodes in IndexStores?
My use-case is that I need to persist both TextNodes and IndexNodes for consistent use in multiple/different sessions. The IndexNodes should keep its PandaQueryEngine mappings intact. Currently using MongoDB for docstore, and could use the same for IndexNodes if it is indeed stored via the IndexStore, but the confusion is how do i retrieve them? For TextNodes i would just call docstore.docs.values(), but how do i store/retrieve IndexNodes with its QueryEngine mapping etc?