Skip to content

Does Ibis convert everything to Pandas all the time? #7726

Answered by gforsyth
jettdc asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @jettdc ! So, short answer is "No."

Long answer:

execute is a bit of a holdover from previous versions, but we didn't want to remove it entirely since it would break just about every users existing Ibis code.

execute today is equivalent to the to_pandas method on an expression -- there's also a to_pyarrow option for most, if not all, backends.

It would be very inefficient to shove a massive pyspark dataset into an in-memory pandas dataframe. We envision calling to_pandas and to_pyarrow as the final step on an expression. Unless that expression is equivalent to SELECT * FROM ... then the various filters and predicates in the expression should reduce the size of the output considerably.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lostmygithubaccount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants