pydata/pandas — pull request #3068 by jreback (2013-03-16 19:45:30+00:00)
Title: BUG: fixes in replace to deal with block upcasting

ENH:
- _maybe_upcast_putmask now has the keyword, change to provide inline putmask changes to an object (series)
- apply in BlockManager now has a keyword, filter to allow acting on only those items contained in the filter (if supplied)

CLN:
- consolidated all replace subs to main replace in DataFrame (which calls replace in BlockManager)

now passed test in GH #3064