__setitem__#

GeosArray.__setitem__(key, value)#

Set one or more values inplace.

This method is not required to satisfy the pandas extension array interface.

Parameters:
  • key (int, ndarray, or slice) –

    When called from, e.g. Series.__setitem__, key will be one of

    • scalar int

    • ndarray of integers.

    • boolean ndarray

    • slice object

  • value (ExtensionDtype.type, Sequence[ExtensionDtype.type], or object) – value or values to be set of key.

Return type:

None