API reference
python:astx:astx.dataframe.DataFrameLiteral
class DataFrameLiteral
DataFrameLiteral(columns: Sequence[DataFrameLiteralColumn], *, type_: DataFrameType | None = None)
Source: packages/astx/src/astx/dataframe.py:242
Internal Arrow C++ backed DataFrame literal node.
Build one Arrow C++ table from named column values.
Attributes
-
columns — Type: tuple[DataFrameLiteralColumn, Ellipsis]
-
type_ — Type: DataFrameType
Methods
-
__init__ — Initialize one DataFrame literal.
-
get_struct — Return the structured representation of the DataFrame literal.