pydata/pandas — pull request #5022 by jtratner (2013-09-28 20:37:55+00:00)
Title: Refactor arithmetic ops into one file.

There's a lot of overlap right now, this is the first step to trying to
make this cleaner.

* Abstract all arithmetic methods into core/ops
* Normalize arithmetic methods signature (see
`ops.add_special_arithmetic_methods` and
`ops.add_flex_arithmetic_methods` for signature).
* Opt-in more arithmetic operations with numexpr (except for
SparsePanel, which has to opt-out because it doesn't respond to
`shape`).
* BUG: Fix ``_fill_zeros`` call to work even if TypeError (previously
was inconsistent).
* Add bind method to core/common
* Add full range of flex arithmetic methods to all NDFrame/ndarray
PandasObjects (except for SparsePanel pow and mod, which only work for
scalars)