python - Merging two Pandas series with duplicate datetime indices -
i have 2 pandas series (d1 , d2) indexed datetime , each containing 1 column of data both float , nan. both indices @ one-day intervals, although time entries inconsistent many periods of missing days. d1 ranges 1974-12-16 2002-01-30. d2 ranges 1997-12-19 2017-07-06. period 1997-12-19 2002-01-30 contains many duplicate indices between 2 series. data duplicated indices same value, different values, or 1 value , nan. i combine these 2 series one, prioritizing data d2 anytime there duplicate indices (that is, replace d1 data d2 data anytime there duplicated index). efficient way among many pandas tools available (merge, join, concatenate etc.)? here example of data: in [7]: print d1 flddate 1974-12-16 19.0 1974-12-17 28.0 1974-12-18 24.0 1974-12-19 18.0 1974-12-20 17.0 1974-12-21 28.0 1974-12-22 28.0 1974-12-23 10.0 1974-12-24 6.0 1974-12-25 5.0 1974-12-26 12.0 1974-12-27 19.0 1974-12-28 22.0 1974-12-29 20.0 1974-12-30 16.0 1974-12-...