Under certain cases, doing an assignment on a DataFrame created using .dropna() emits the infamous . So I followed what this SO answer suggests, and inspected the <
.dropna()