Backport PR #38587 on branch 1.3.x (ENH: Raise ParserWarning when length of names does not match length of data)
Backport PR #38587: ENH: Raise ParserWarning when length of names does not match length of data