Backport PR #37499 on branch 1.1.x (REGR: fix isin for large series with nan and mixed object dtype (causing regression in read_csv))
Backport PR #37499: REGR: fix isin for large series with nan and mixed object dtype (causing regression in read_csv)