Pandas version checks
Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html
Documentation problem
The parameter on_bad_lines has the following values:
‘error’, raise an Exception when a bad line is encountered.
‘warn’, raise a warning when a bad line is encountered and skip that line.
‘skip’, skip bad lines without raising or warning when they are encountered.
Which were added in version 1.3.0, however, the document is showing as if the value callable was added in this version, as it is wrongly added in the message New in version 1.3.0. . There is a message New in version 1.4.0. without content
This is confusing as it seems the callable should work since 1.3.0, but it is since 1.4.0. See example of a complaint
Suggested fix for documentation
Move the callable to the New in version 1.4.0. section