Enable element-wise comparison operations in DataMatrix objects · Issue #1 · pandas-dev/pandas (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
re: pystatsmodels e-mail
hi everyone,
just getting started with pandas and i was wondering if someone could
help me out. do pandas.DataMatrix objects support per item comparison
operations?
i have a two data matrices, and i want to do something like this:
div[div > 0.5 * price] = 0
this would work if div and price were numpy.ndarray objects. any idea
how i would do something like this with pandas.DataMatrix objects?
thanks,
andy