- With
atoti.Session.read_pandas(): - With
atoti.Session.read_csv():
-
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 typeINT_ARRAYorLONG_ARRAYcan be provided to create another array measure containing the values at the passed indices:
len | Return a measure equal to the number of elements of the passed array measure. |
|---|---|
max | Return a measure equal to the maximum element of the passed array measure. |
mean | Return a measure equal to the mean of all the elements of the passed array measure. |
min | Return a measure equal to the minimum element of the passed array measure. |
n_greatest | Return an array measure containing the n greatest elements of the passed array measure. |
n_greatest_indices | Return an array measure containing the indices of the n greatest elements of the passed array measure. |
n_lowest | Return an array measure containing the n lowest elements of the passed array measure. |
n_lowest_indices | Return an array measure containing the indices of the n lowest elements of the passed array measure. |
negative_values | Return a measure where all the elements > 0 of the passed array measure are replaced by 0. |
nth_greatest | Return a measure equal to the n-th greatest element of the passed array measure. |
nth_lowest | Return a measure equal to the n-th lowest element of the passed array measure. |
positive_values | Return a measure where all the elements < 0 of the passed array measure are replaced by 0. |
prefix_sum | Return a measure equal to the sum of the previous elements in the passed array measure. |
prod | Return a measure equal to the product of all the elements of the passed array measure. |
quantile | Return a measure equal to the requested quantile of the elements of the passed array measure. |
quantile_index | Return a measure equal to the index of requested quantile of the elements of the passed array measure. |
replace | Return a measure where elements equal to a key of the replacements mapping are replaced with the corresponding value. |
sort | Return an array measure with the elements of the passed array measure sorted. |
std | Return a measure equal to the standard deviation of the elements of the passed array measure. |
sum | Return a measure equal to the sum of all the elements of the passed array measure. |
var | Return a measure equal to the variance of the elements of the passed array measure. |