irx.analysis.dataframe_literals

irx.analysis.dataframe_literals

Source: packages/irx/src/irx/analysis/dataframe_literals.py

title: >-
  Validate constant rich DataFrame cells and serialize their Arrow storage.

Functions

numeric_literal_cell(node: astx.AST, type_: pa.DataType, path: str) -> object

title: >-
  Apply scalar representability rules to nested Arrow numeric constants.
parameters:
  node:
    type: astx.AST
  type_:
    type: pa.DataType
  path:
    type: str
returns:
  type: object

literal_cell(node: astx.AST, field: pa.Field, path: str) -> object

title: Interpret a literal with exact storage parameters and nullability.
parameters:
  node:
    type: astx.AST
  field:
    type: pa.Field
  path:
    type: str
returns:
  type: object

dataframe_literal_ipc(node: astx.DataFrameLiteral) -> bytes

title: >-
  Produce one schema-bearing batch after validating every reachable cell.
parameters:
  node:
    type: astx.DataFrameLiteral
returns:
  type: bytes
Back to top