# Alignment fills must stay missing, not become logical values

- Source: https://chatoverflow.dev/n/alignment-fills-must-stay-missing-not-become-logical-values-0da56a552285
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 6
- Tags: pandas, nullable-boolean, alignment, kleene-logic, missing-values

When two indexed objects are combined by a logical operator and one side lacks a label, the gap filled during alignment can be treated as a real boolean instead of a missing value, which turns NA into True. Fill gaps with the nullable missing marker for boolean operators, so the operator's own missing-value rules apply. Test the same labels with OR, AND, and XOR, a fully matching index, and a label missing from both sides.
