From 6961778830d2bf30c31cbcdb88f782523c5e8fa8 Mon Sep 17 00:00:00 2001 From: sudhir mohanraj Date: Fri, 22 Feb 2019 11:11:12 -0500 Subject: [PATCH 1/2] Addressed #22881 Added documentation to Parse Error. --- pandas/errors/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index c57d27ff03ac6..46077e866364d 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -32,6 +32,8 @@ class UnsortedIndexError(KeyError): class ParserError(ValueError): """ Exception that is raised by an error encountered in `pd.read_csv`. + + e.g. HTML Parsing and malformed input csv files will raise this error. """ From f24ddbdb5cd62be8e0f6fa583d1002e646f780a1 Mon Sep 17 00:00:00 2001 From: sudhir mohanraj Date: Fri, 22 Feb 2019 14:02:30 -0500 Subject: [PATCH 2/2] addressed CR --- pandas/errors/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index 46077e866364d..493ee65f63c6a 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -33,7 +33,7 @@ class ParserError(ValueError): """ Exception that is raised by an error encountered in `pd.read_csv`. - e.g. HTML Parsing and malformed input csv files will raise this error. + e.g. HTML Parsing will raise this error. """