BoolArr#

class BoolArr(name=None, nan=False, **kwargs)[source]#

Bases: Arr

Subclass of Arr with defaults for booleans

Attributes

auids

Link to the indices of active agents -- sim.people.auids

isnan

notnan

uids

Alias to Arr.true

values

Return the values of the active agents

Methods

property uids#

Alias to Arr.true

split()[source]#

Return UIDs of values that are true and false as separate arrays