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

    If a comparison has mismatched types and is not necessarily meaningful,
    follow python3 conventions by:

        - returning all-False for equality
        - returning all-True for inequality
        - raising TypeError otherwise

    Parameters
    ----------
    left : array-like
    right : scalar, array-like
    op : operator.{eq, ne, lt, le, gt}

    Raises
    ------
    TypeError : on inequality comparisons
    
=== parse numpydoc
short_description: |
  If a comparison has mismatched types and is not necessarily meaningful,
  follow python3 conventions by:
long_description: |
      - returning all-False for equality
      - returning all-True for inequality
      - raising TypeError otherwise
blank_after_short_description: True
blank_after_long_description: True
style: numpydoc
- DocstringParam
  kind: param
  key: 'param'
  arg_name: 'left'
  type_name: 'array-like'
  is_optional: False
- DocstringParam
  kind: param
  key: 'param'
  arg_name: 'right'
  type_name: 'scalar, array-like'
  is_optional: False
- DocstringParam
  kind: param
  key: 'param'
  arg_name: 'op'
  type_name: 'operator.{eq, ne, lt, le, gt}'
  is_optional: False
- DocstringRaises
  description: 'on inequality comparisons'
  kind: raises
  key: 'raises'
  type_name: 'TypeError'
=== detect
numpydoc
=== compose numpydoc
If a comparison has mismatched types and is not necessarily meaningful,
follow python3 conventions by:

    - returning all-False for equality
    - returning all-True for inequality
    - raising TypeError otherwise

Parameters
----------
left : array-like
right : scalar, array-like
op : operator.{eq, ne, lt, le, gt}

Raises
------
TypeError
    on inequality comparisons
