atoti_query.query_result module#

class atoti_query.QueryResult#

pandas DataFrame corresponding to the result of a query.

It is indexed by the queried levels (date levels become pandas.DatetimeIndex).

Note

Unless mutated in place, the __repr__(), _repr_html_(), _repr_latex_(), and _repr_mimebundle_() methods will use:

  • The caption of levels and members instead of their name.

  • The formatted value of measures instead of their value.

property style: pandas.io.formats.style.Styler#

Return a Styler object.

If the query result has not been mutated, the returned object will follow the styling included in the CellSet from which the DataFrame was converted.

Return type

Styler