Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Atoti Python SDK
Cube
>>> table = session.create_table( ... "Sales", data_types={"Product": "String", "Shop": "String"} ... ) >>> cube = session.create_cube(table, mode="manual") >>> d, h = cube.dimensions, cube.hierarchies >>> h["Product"] = [table["Product"]] >>> h["Shop"] = [table["Shop"]]
>>> list(d) ['Sales']
>>> list(d["Sales"]) ['Product', 'Shop']
>>> h["Shop"].dimension_name = "Geography" >>> list(d) ['Geography', 'Sales'] >>> list(d["Geography"]) ['Shop'] >>> list(d["Sales"]) ['Product']
Dimension
Was this page helpful?