Same two Series, but treat a missing label as 0 so nothing comes back NaN

pandas · from The index, and alignment

df.indexalignmentreindexset_indexreset_indexfill_value

Putting the kettle on…

Starting up…

Exercise 2

Same two Series, but treat a missing label as 0 so nothing comes back NaN.

your answer
stuck? the lesson behind it
The index, and alignment
Labels take part in the arithmetic — the one idea NumPy doesn’t have.