API reference
python:astx:astx.DataFrameLiteral
class DataFrameLiteral
DataFrameLiteral(columns: Sequence[DataFrameLiteralColumn], *, type_: DataFrameType | None = None)
Source: packages/astx/src/astx/dataframe.py:218
Declared as: python:astx:astx.dataframe.DataFrameLiteral
Internal Arrow C++ backed DataFrame literal node.
Build one Arrow C++ table from named column values.
Attributes
-
columns — Column declarations or values.; Type: tuple[DataFrameLiteralColumn, ...]
-
type_ — Type associated with this expression.; Type: DataFrameType
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Initialize one DataFrame literal.
-
get_struct — Return the structured representation of the DataFrame literal.