# pandas 3.1.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

    Can we do an inplace setitem with this element in an array with this dtype?

    Parameters
    ----------
    arr : np.ndarray or ExtensionArray
    element : Any

    Returns
    -------
    bool
    
=== parse numpydoc
short_description: 'Can we do an inplace setitem with this element in an array with this dtype?'
blank_after_short_description: True
blank_after_long_description: False
style: numpydoc
- DocstringParam
  kind: param
  key: 'param'
  arg_name: 'arr'
  type_name: 'np.ndarray or ExtensionArray'
  is_optional: False
- DocstringParam
  kind: param
  key: 'param'
  arg_name: 'element'
  type_name: 'Any'
  is_optional: False
- DocstringReturns
  kind: returns
  key: 'returns'
  type_name: 'bool'
  is_generator: False
=== detect
numpydoc
=== compose numpydoc
Can we do an inplace setitem with this element in an array with this dtype?

Parameters
----------
arr : np.ndarray or ExtensionArray
element : Any

Returns
-------
bool
