SeriesFactory.

not_indexed

not_indexed( data_by: Union[SimpleMetric, str, ObjId, Attribute], granularity: Optional[Union[list[LabelItemDef], IndexDef]], filter_by: Optional[Union[Filter, list[Filter]]] ) -> pandas.Series

Creates a pandas.Series from data points calculated from a single `data_by` without constructing an index.

Parameters

nametypedescription
data_byUnion[SimpleMetric, str, ObjId, Attribute]The label, fact, or metric to obtain data from. Specify either: - ObjId: ObjId(id='some_id', type='') - string representation of an identifier: '/some_id' - Attribute: Attribute(local_id=..., label='some_label_id') - SimpleMetric: SimpleMetric(local_id=..., item=..., aggregation=...)
granularityOptional[Union[list[LabelItemDef], IndexDef]]The label to slice the metric by. Specify either: - string with id: 'some_label_id' - ObjId: ObjId(id='some_label_id', type='label') - string representation of an identifier: 'label/some_label_id' - Attribute: Attribute(local_id=..., label='some_label_id') - list containing multiple labels to slice the metric by - dict containing mapping of index name to label Defaults to None.
filter_byOptional[Union[Filter, list[Filter]]]The filter(s) to apply. Reference to filtering column can be one of: - object identifier in string form - ObjId: ObjId(id='some_label_id', type='') - Attribute or Metric depending on the type of filter Defaults to None.

Returns

typedescription
pandas.SeriesThe resulting pandas Series instance.