Skip to main content
Atoti is designed to handle array data efficiently. There are multiple ways to load arrays into Atoti tables. For instance:
  • With atoti.Session.read_pandas():
  • With atoti.Session.read_csv():
As for scalar measures, Atoti provides the default SUM and MEAN aggregations on array measures. They are applied element by element:
Besides the functions below, arrays support the following operations:
  • Arithmetic operators:
  • Indexing:
    This can be used with atoti.Cube.create_parameter_hierarchy_from_members() to “slice” the array:
    Non-integer hierarchies can also be created:
  • Slicing:
  • Selecting elements at given indices: A Tuple[int, ...] or a measure of type INT_ARRAY or LONG_ARRAY can be provided to create another array measure containing the values at the passed indices: