fix nanops when used with pandas objects
test_nanops.py