lifecycles.LifeCycle.temporal_ids¶
- LifeCycle.temporal_ids() list¶
retrieve the temporal ids of the LifeCycle. Temporal ids are integers that represent the observation time of a partition.
- Example:
>>> lc = LifeCycle() >>> lc.add_partition([{"a", "b"}, {"c", "d"}]) # at time 0 >>> lc.add_partition([{"a", "b"}, {"c"}]) # at time 1 >>> lc.temporal_ids() [0, 1]