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
>>> pnl_table = session.read_csv( ... TEST_RESOURCES_PATH / "csv" / "pnl.csv", ... array_separator=";", ... keys={"Continent", "Country"}, ... table_name="PnL", ... ) >>> cube = session.create_cube(pnl_table) >>> l, m = cube.levels, cube.measures >>> m["Ascending sort"] = tt.array.sort(m["PnL.SUM"]) >>> m["Descending sort"] = tt.array.sort(m["PnL.SUM"], ascending=False) >>> cube.query(m["PnL.SUM"], m["Ascending sort"], m["Descending sort"]) PnL.SUM Ascending sort Descending sort 0 doubleVector[10]{-20.163, ...} doubleVector[10]{-110.09900000000002, ...} doubleVector[10]{9.259999999999998, ...}
Was this page helpful?