File: missing_intro.rst

package info (click to toggle)
pandas 1.5.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 56,516 kB
  • sloc: python: 382,477; ansic: 8,695; sh: 119; xml: 102; makefile: 97
file content (9 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
pandas represents missing data with the special float value ``NaN`` (not a number).  Many of the
semantics are the same; for example missing data propagates through numeric operations, and is
ignored by default for aggregations.

.. ipython:: python

   outer_join
   outer_join["value_x"] + outer_join["value_y"]
   outer_join["value_x"].sum()