tiled.adapters.table.TableAdapter¶
- class tiled.adapters.table.TableAdapter(partitions, structure, *, metadata=None, specs=None, access_policy=None)[source]¶
Wrap a dataframe-like object in an interface that Tiled can serve.
Examples
>>> df = pandas.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]}) >>> DataFrameAdapter.from_pandas(df, npartitions=1)
Methods
__init__
(partitions, structure, *[, ...])from_dask_dataframe
(ddf[, metadata, specs, ...])from_pandas
(*args[, metadata, specs, ...])items
()metadata
()read
([fields])read_partition
(partition[, fields])structure
()Attributes
structure_family