Find answers from the community

Home
Members
kimchinosys
k
kimchinosys
Offline, last seen 4 months ago
Joined September 25, 2024
Hey folks, sorry if this is a simple question: I'm loading docs/nodes from the docstore, filtering/modifying, and would sometimes need to call adelete_document to delete the nodes from the docstore. I use the returned nodes node_id field to delete, but I am getting this error message:
list.remove(x): x not in list

Am i supposed to use a different field here and not node_id?
22 comments
k
L
k
kimchinosys
·

Pd

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.
8 comments
k
L