I know! It's really weird... it's the`np.testing.assert_array_equal` which is failing (and it's supposed to ignore nan!). The good thing is, with get_dummies in master we *can* now repo this. :)