I have two pandas Series: ser
and ovr
.
ser
contains objects, and ovr
is a sparse Series
of objects and None
's. ser
and ovr
share the same index, and I'd like to overwrite every value of ser
with its corresponding value of ovr
, unless that corresponding value is None
.
What's an efficient way to accomplish that?