-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: REGR: read_csv with memory_map=True raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data #43647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
michal-gh
commented
Sep 18, 2021
- [x ] closes BUG: REGR: read_csv with memory_map=True raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data #43540
- [x ] tests added / passed
- Ensure all linting tests pass, see here for how to run them
- [x ] whatsnew entry
doc/source/whatsnew/v1.3.4.rst
Outdated
@@ -19,6 +19,7 @@ Fixed regressions | |||
- Fixed performance regression in :meth:`MultiIndex.equals` (:issue:`43549`) | |||
- Fixed regression in :meth:`Series.cat.reorder_categories` failing to update the categories on the ``Series`` (:issue:`43232`) | |||
- Fixed regression in :meth:`Series.cat.categories` setter failing to update the categories on the ``Series`` (:issue:`43334`) | |||
- Fixed regression in :meth:`pandas.read_csv` raising UnicodeDecodeError exception when memory_map=True (:issue:`43540`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fixed regression in :meth:`pandas.read_csv` raising UnicodeDecodeError exception when memory_map=True (:issue:`43540`) | |
- Fixed regression in :meth:`pandas.read_csv` raising `UnicodeDecodeError` exception when `memory_map=True` (:issue:`43540`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in last commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc string comment
This reverts commit c2e91f8.
I updated |
thanks @michal-gh very nice. always happy to take further updates to master. |
@meeseeksdev backport 1.3.x |
…e raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data
Something went wrong ... Please have a look at my logs. |
…ap=True raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data ) (#43691) Co-authored-by: michal-gh <[email protected]> Co-authored-by: Thomas Li <[email protected]>
Thank you @twoertwein , @jreback for help with this PR |