BUG: handle NotImplementedError in Index comparisons
Fixes issue #9432

A very specific fix that is not anticipated to impact performance.  
The test performed is safe and documents that the origin of the 
problem is actually numpy.  When this numpy bug is fixed it will 
be easy to remove this code. 

can u add a test for same (eg use your example)
 Of course :)

I am not familiar enough with pandas package development to choose a good
place to put an _indexOp test within pandas/tests/test_index.py

Cheers,
David

On Mon, Feb 9, 2015 at 2:50 PM, jreback notifications@github.com wrote:

> can I add a test for same (eg use your example)
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/pydata/pandas/pull/9451#issuecomment-73503279.
 you can just put this in `test_index/Base`. It might break some other index types (e.g. DatetimeIndex), as they are expecting different types of comparisions here but do conversions, so the test is a bit tricky. Or you can put it in `TestIndex` is prob ok. This is just an edge case. 
 Because this address an external issue (numpy bug), I added a test that includes instructions to remove both the test and the try except block in _indexOp when it fails (presumably after the numpy bug is fixed, but perhaps in a future change).
 closing pls reopen if/when updated
