mesa_frames.AgentSet.shuffle# AgentSet.shuffle(inplace: bool = True) → Self[source]# Randomly permute agent order. Parameters: inplace (bool, optional) – Whether to mutate in place or return a shuffled copy, by default True. Returns: The shuffled AgentSet (or a shuffled copy when inplace=False). Return type: Self