A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.errors.ParserError.html below:

pandas.errors.ParserError — pandas 2.3.1 documentation

pandas.errors.ParserError#
exception pandas.errors.ParserError[source]#

Exception that is raised by an error encountered in parsing file contents.

This is a generic error raised for errors encountered when functions like read_csv or read_html are parsing contents of a file.

See also

read_csv

Read CSV (comma-separated) file into a DataFrame.

read_html

Read HTML table into a DataFrame.

Examples

>>> data = '''a,b,c
... cat,foo,bar
... dog,foo,"baz'''
>>> from io import StringIO
>>> pd.read_csv(StringIO(data), skipfooter=1, engine='python')
Traceback (most recent call last):
ParserError: ',' expected after '"'. Error could possibly be due
to parsing errors in the skipped footer rows

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4