mesa_frames.AgentSet.add# AgentSet.add(agents: DataFrame | Sequence[Any] | dict[str, Any], inplace: bool = True) → Self[source]# Add agents to the AgentSet. Parameters: agents (pl.DataFrame | Sequence[Any] | dict[str, Any]) – The agents to add. inplace (bool, optional) – Whether to add the agents in place, by default True. Returns: The updated AgentSet. Return type: Self