dalejung / pandas-composition

Pandas Composition/Inheritance
MIT License
9 stars 0 forks source link

np.where does not return correct subclass with new NDFrame Series #20

Closed dalejung closed 11 years ago

dalejung commented 11 years ago

It appears there is no way to get this behavior without patching numpy.where itself.

dalejung commented 11 years ago

https://github.com/dalejung/pandas-composition/commit/35e5d21bbbb1e502d0f76515325301a8a7a8c96a

monkey patched the np.where