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
True
None
False
>>> df = pd.DataFrame( ... columns=["City", "Price"], ... data=[ ... ("Paris", 200.0), ... ("Berlin", None), ... ], ... ) >>> table = session.read_pandas(df, table_name="Example") >>> cube = session.create_cube(table) >>> l, m = cube.levels, cube.measures >>> condition = m["Price.SUM"].isnull() >>> condition m['Price.SUM'].isnull() >>> m["Price.isnull"] = condition >>> m["Price.notnull"] = ~condition >>> cube.query( ... m["Price.SUM"], ... m["Price.isnull"], ... m["Price.notnull"], ... levels=[l["City"]], ... ) Price.SUM Price.isnull Price.notnull City Berlin True False Paris 200.00 False True
Was this page helpful?