I\'m working through the \"Python For Data Analysis\" and I don\'t understand a particular functionality. Adding two pandas series objects will automatically align the index
Pandas does not assume that 500+NaN=500, but it is easy to ask it to do that: a.add(b, fill_value=0)
a.add(b, fill_value=0)