Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.errors.ParserError#

exceptionpandas.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 likeread_csv orread_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'''>>>fromioimportStringIO>>>pd.read_csv(StringIO(data),skipfooter=1,engine='python')Traceback (most recent call last):ParserError:',' expected after '"'. Error could possibly be dueto parsing errors in the skipped footer rows

[8]ページ先頭

©2009-2025 Movatter.jp