Pandas-like Backend Base Classes¶
These base classes underlie the pandas-based backends.
BasePandasBackend
¶
Bases: BaseBackend
Base class for backends based on pandas.
Functions¶
create_table(name, obj=None, *, schema=None, database=None, temp=None, overwrite=False)
¶
Create a table.
from_dataframe(df, name='df', client=None)
¶
Construct an ibis table from a pandas DataFrame.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df |
pd.DataFrame
|
A pandas DataFrame |
required |
name |
str
|
The name of the pandas DataFrame |
'df'
|
client |
BasePandasBackend | None
|
Client dictionary will be mutated with the name of the DataFrame, if not provided a new client is created |
None
|
Returns:
Type | Description |
---|---|
Table
|
A table expression |
Last update:
January 4, 2023