Skip to content

Why are pandas and numpy core dependencies for ibis? #9104

Answered by cpcloud
brendancooley asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @brendancooley 👋🏻 and welcome!

I can add a bit more color to @lostmygithubaccount's response.

Ibis was originally built for Impala, and during a time when there wasn't much in the way of in-memory containers for tabular data except pandas. Arrow was still just a twinkle in Wes's eye at the time (though it would show up very soon after Ibis started!).

Pandas is one of the three output formats that we support:

  • to_pandas(): execute expression and return a pandas DataFrame.
  • to_pyarrow(): execute expression and return a PyArrow Table.
  • to_polars() (not yet supported on all backends IIRC): execute expression and return a Polars DataFrame.

For many users, to_pandas() is still the go-to outpu…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@brendancooley
Comment options

Comment options

You must be logged in to vote
1 reply
@brendancooley
Comment options

Answer selected by brendancooley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants