It occurs particularly easily when you try to evaluate an entire column of a DataFrame directly using an if statement. In pandas, because an entire column—not just a single cell—becomes a data ...