Questions tagged [ibis]

Ibis is an open source Python framework to access data and perform analytical computations from different sources (e.g. sqlite, duckdb, postgres, spark, clickhouse, bigquery, and more), in a standard way. Use for questions related to configuring Ibis, or problems using Ibis that are not covered in the official tutorial.

From https://ibis-project.org/docs/3.2.0/tutorial/01-Introduction-to-Ibis:

Introduction to Ibis

Ibis is a Python framework to access data and perform analytical computations from different sources, in a standard way.

In a way, you can think of Ibis as writing SQL in Python, with a focus on analytics, more than simply accessing data. And aside from SQL databases, you can use it with other backends, including big data systems.

Why not simply use SQL instead? SQL is great and widely used. However, SQL has different flavors for different database engines, and SQL is very difficult to maintain when your queries are very complex. Ibis solves both problems by standardizing your code across backends and making it maintainable. Since Ibis is Python, you can structure your code in different files, functions, name variables, write tests, etc.

Based on the ibis/README.md it currently supports the following:

  • Apache Impala
  • Google BigQuery
  • ClickHouse
  • HeavyAI
  • Dask
  • DuckDb
  • MySQL
  • Pandas
  • PostgreSQL
  • PySpark
  • Sqlite

References

34 questions
0
votes
2 answers

Inserting data to impala table using Ibis python

I'm trying to insert df into a ibis created impala table with partition. I am running this on remote kernel using spyder 3.2.4 on windows 10 machine and python 3.6.2 on edge node machine running CentOS. I get following error: Writing DataFrame to…
sushant
  • 1
  • 2
0
votes
2 answers

module 'ibis.impala' has no attribute 'connect'

I have installed Python3.5 and ibis-framework 0.10.0. I want to operate Pandas data to impala database directly. But i meet the following error. Would you help me to solve it? The command line as following: import ibis conn =…
leishton
  • 11
  • 1
  • 5
0
votes
1 answer

python convert ibis (Impala) table into pandas dataframe

Does anybody know how to convert ibis (Impala) table () into pandas dataframe? Actually I want to merge (join) ibis table & pandas dataframe. Thank you!!
ragesz
  • 9,009
  • 20
  • 71
  • 88
-1
votes
1 answer

Ibis Python Help: ValueError: Multiple backends found

I am trying to convert a joined table to a python dataframe using Ibis. The two tables I am using are from bigquery and can convert them to dataframe easily. But when I join them and call the execute() method, it gives me the "ValueError: Multiple…
1 2
3