Skip to content

console_encode doesn't exist #20616

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

Closed
janrito opened this issue Apr 5, 2018 · 2 comments
Closed

console_encode doesn't exist #20616

janrito opened this issue Apr 5, 2018 · 2 comments
Labels
Clean good first issue Output-Formatting __repr__ of pandas objects, to_string
Milestone

Comments

@janrito
Copy link
Contributor

janrito commented Apr 5, 2018

# console_encode() should (hopefully) choose the right encoding for you

refers to a console_encoding util that encodes the current string into the appropriate encoding for the platform or display environment. This util does not exist however

@jreback
Copy link
Contributor

jreback commented Apr 9, 2018

these look commented out. want to do a PR to remove?

@jreback
Copy link
Contributor

jreback commented Apr 9, 2018

g(pandas) bash-3.2$ grep -r console_encode pandas
pandas/io/formats/printing.py:# 2) If you need to send something to the console, use console_encode().
pandas/io/formats/printing.py:#    console_encode() should (hopefully) choose the right encoding for you
pandas/tests/io/formats/test_printing.py:# def test_console_encode():
pandas/tests/io/formats/test_printing.py:#     common.console_encode should encode things as utf-8.
pandas/tests/io/formats/test_printing.py:#         result = printing.console_encode(u"\u05d0")

@jreback jreback added Output-Formatting __repr__ of pandas objects, to_string Clean labels Apr 9, 2018
@jreback jreback added this to the Next Major Release milestone Apr 9, 2018
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 10, 2018
@gfyoung gfyoung modified the milestones: Next Major Release, 0.23.0 Apr 10, 2018
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 10, 2018
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean good first issue Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

No branches or pull requests

3 participants