wesm/pandas — Issue #432: Element-wise map does not produce DataFrame in apply
Author: wesm
Created: 2011-12-02 16:43:57+00:00
State: open
Labels: Bug

```
compareOp = lambda s1, s2 : map(lambda x, y: x if y is None else (y if x is None else min(x, y)), s1, s2)

print m2.apply(lambda x : compareOp(x, s))
```