Replies: 1 comment 1 reply
-
Hi @wenger9, very good question. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Let's say we have two dataframes, df1 and df2.
I have been wondering what happens when a query is posed that requires a reference to a column that exists in two separate dataframes?
For example, suppose df1 contains the following columns: ['name', 'job', 'sales'] while df2 contains ['actor', 'genre', 'sales']. df1 refers to a dataset of salepeople and their yearly sales and df2 refers to a dataset of actors and their yearly movie sales The query could be, "Who had the highest sales?". How does pandasai make the distinction?
Is there a way to ensure that pandasai will always (or almost always) be able to generate code that will execute against the right column references from the query?
Apologies if this is a poor example. Please let me know if additional examples would help!
Beta Was this translation helpful? Give feedback.
All reactions