Traceback (most recent call last):


 "/tmp/test.py", line 4, in <module>

df.query('other == 0 | other.isnull()')


 "/usr/local/lib/python3.6/dist-packages/pandas/core/frame.py", line 3184, in query

res = self.eval(expr, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/pandas/core/frame.py", line 3300, in eval

return _eval(expr, inplace=inplace, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/pandas/core/computation/eval.py", line 327, in eval

ret = eng_inst.evaluate()


 "/usr/local/lib/python3.6/dist-packages/pandas/core/computation/engines.py", line 70, in evaluate

res = self._evaluate()


 "/usr/local/lib/python3.6/dist-packages/pandas/core/computation/engines.py", line 118, in _evaluate

_check_ne_builtin_clash(self.expr)


 "/usr/local/lib/python3.6/dist-packages/pandas/core/computation/engines.py", line 27, in _check_ne_builtin_clash

names = expr.names


 "/usr/local/lib/python3.6/dist-packages/pandas/core/computation/expr.py", line 851, in names

return frozenset(term.name for term in com.flatten(self.terms))
TypeError: unhashable type: 'numpy.ndarray'

Traceback (most recent call last):


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\variableexplorer\dataframeeditor.py", line 295, in data

value = self.get_value(row, column-1)


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\variableexplorer\dataframeeditor.py", line 270, in get_value

value = self.df.iloc[row, column]


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\indexing.py", line 1491, in __getitem__

return self._getitem_scalar(key)


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\indexing.py", line 2113, in _getitem_scalar

values = self.obj._get_value(*key, takeable=True)


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\frame.py", line 2765, in _get_value

return com.maybe_box_datetimelike(series._values[index])


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\arrays\sparse.py", line 1010, in __getitem__

return self._get_val_at(key)


 "C:\Users\thomasonc\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\arrays\sparse.py", line 1053, in _get_val_at

return libindex.get_value_at(self.sp_values, sp_loc)
TypeError: Argument 'arr' has incorrect type (expected numpy.ndarray, got IntegerArray)
