def ne(self, other: Any) -> 'DataFrame':
    "\n        Compare if the current value is not equal to the other.\n\n        >>> df = ps.DataFrame({'a': [1, 2, 3, 4],\n        ...                    'b': [1, np.nan, 1, np.nan]},\n        ...                   index=['a', 'b', 'c', 'd'], columns=['a', 'b'])\n\n        >>> df.ne(1)\n               a      b\n        a  False  False\n        b   True   True\n        c   True  False\n        d   True   True\n        "
    return (self != other)
Compare if the current value is not equal to the other.

>>> df = ps.DataFrame({'a': [1, 2, 3, 4],
...                    'b': [1, np.nan, 1, np.nan]},
...                   index=['a', 'b', 'c', 'd'], columns=['a', 'b'])

>>> df.ne(1)
       a      b
a  False  False
b   True   True
c   True  False
d   True   True
def ne(self, other: Any) -> 'DataFrame':
    "\n        Compare if the current value is not equal to the other.\n\n        >>> df = ps.DataFrame({'a': [1, 2, 3, 4],\n        ...                    'b': [1, np.nan, 1, np.nan]},\n        ...                   index=['a', 'b', 'c', 'd'], columns=['a', 'b'])\n\n        >>> df.ne(1)\n               a      b\n        a  False  False\n        b   True   True\n        c   True  False\n        d   True   True\n        "
    return (self != other)