Skip to content

Fix/read csv utf aliases #14060

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

Merged

Conversation

nateGeorge
Copy link
Contributor

-read_csv with engine=c throws error when encoding=UTF_16 (anything other than utf-16)
-improved nosetests and moved to in pandas/io/tests/common.py
-passes pep8radius upstream/master --diff and git diff upstream/master | flake8 --diff
-put what's new entry in 0.19.0 in accordance with milestone posted on issue

@jorisvandenbossche
Copy link
Member

@nateGeorge Now there is only a lint error left (reason for the travis failure):

pandas/io/tests/parser/common.py:21:1: F811 redefinition of unused 'BytesIO' from line 11

@codecov-io
Copy link

codecov-io commented Aug 22, 2016

Current coverage is 85.27% (diff: 100%)

Merging #14060 into master will increase coverage by <.01%

@@             master     #14060   diff @@
==========================================
  Files           139        139          
  Lines         50446      50449     +3   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          43018      43021     +3   
  Misses         7428       7428          
  Partials          0          0          

Powered by Codecov. Last update df2d9ab...aca4148

@jorisvandenbossche jorisvandenbossche merged commit 6645b2b into pandas-dev:master Aug 22, 2016
@jorisvandenbossche
Copy link
Member

@nateGeorge Thanks!

@nateGeorge
Copy link
Contributor Author

Thanks for all the help @jorisvandenbossche ! It was my first contribution to a large open source project and I learned a lot, next time should be much smoother.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO CSV read_csv, to_csv Unicode Unicode strings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Codec utf-16 aliases do not work in read_csv with c engine
3 participants