Skip to content

deepyaman/ibis-pandas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ibis-pandas

Installation

pip install ibis-pandas

Getting started

>>> import ibis
>>> import pandas as pd
>>>
>>> df = pd.DataFrame(
...     [["a", 1, 2], ["b", 3, 4]],
...     columns=["one", "two", "three"],
...     index=[5, 6],
... )
>>> df
  one  two  three
5   a    1      2
6   b    3      4
>>> con = ibis.pandas.connect()
>>> t = con.create_table("t", df)
>>> t1 = t.select(two=t.two + 1, three=t.three * 3)
>>> t2 = t1.filter(t1.two > 3)
>>> t3 = t2.select(t2.two, t2.three)
>>> t3.execute()
   two  three
6    4     12

About

pandas backend for Ibis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages