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
name | type | description |
---|---|---|
data_by | Union[SimpleMetric, str, ObjId, Attribute] | The label, fact, or metric to obtain data from.
Specify either:
- ObjId: ObjId(id='some_id', type=' |
granularity | Optional[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_by | Optional[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=' |
Returns
type | description |
---|---|
pandas.Series | The resulting pandas Series instance. |