Data
relationalai.semantics.frontend.base
Data(df: DataFrame, model: Model)Represents a temporary table backed by in-memory data.
Data objects are created by Model.data (and the convenience function
data). They behave like a Table, so you
can refer to their columns (for example d.name or d["name"]) in queries.
Most users should not instantiate this class directly. Prefer
Model.data.
Inheritance Hierarchy
Section titled “Inheritance Hierarchy”Returned By
Section titled “Returned By”semantics ├── frontend > base │ └── Model │ └── data └── data
Referenced By
Section titled “Referenced By”RelationalAI Documentation └── Build With RelationalAI └── Understand how PyRel works > Build a semantic model └── Declare data sources ├── Use a DataFrame withModel.data└── Use inline Python data withModel.data