mesa_frames.Grid.is_full#
- Grid.is_full(pos: int | DataFrame | Sequence[int] | Collection[int | DataFrame] | Sequence[int | slice | Sequence[int]] | Collection[int | Sequence[int] | DataFrame]) DataFrame#
Check whether the input positions are full (there isn’t any spot available in the cells).
- Parameters:
pos (DiscreteCoordinate | DiscreteCoordinates) – The positions to check for
- Returns:
A dataframe with positions and a boolean column “full”
- Return type:
DataFrame