Skip to content

Commit

Permalink
docs: add allowed input for memtable constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala authored and cpcloud committed Apr 28, 2023
1 parent dc3e694 commit 69cdee5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ibis/expr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,13 @@ def memtable(
data
Any data accepted by the `pandas.DataFrame` constructor or a `pyarrow.Table`.
Examples of acceptable objects are a `pandas.DataFrame`, a `pyarrow.Table`,
a list of dicts of non-ibis Python objects, etc.
`ibis` objects, like `MapValue`, will result in an error.
Do not depend on the underlying storage type (e.g., pyarrow.Table), it's subject
to change across non-major releases.
columns
Optional [`Iterable`][typing.Iterable] of [`str`][str] column names.
schema
Expand Down

0 comments on commit 69cdee5

Please sign in to comment.