Skip to content
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

Series.to_string Always Prints Length #489

Closed
craustin opened this issue Dec 14, 2011 · 3 comments

Comments

@craustin
Copy link

commented Dec 14, 2011

We like to use to_string to print the contents of a Series to a buffer. As of 0.6.1, this has started including "\nLength:..." at the end. Could this be an option? It leaves us with no option but to rewrite to_string if we don't want this included.

@wesm

This comment has been minimized.

Copy link
Member

commented Dec 15, 2011

Added a length option and turned it off by default. That makes the most sense to me

@wesm wesm closed this Dec 15, 2011

@craustin

This comment has been minimized.

Copy link
Author

commented Dec 15, 2011

Sounds good to me.

On Dec 14, 2011, at 11:40 PM, Wes McKinneyreply@reply.github.com wrote:

Added a length option and turned it off by default. That makes the most sense to me


Reply to this email directly or view it on GitHub:
https://github.com/wesm/pandas/issues/489#issuecomment-3156716

@lodagro

This comment has been minimized.

Copy link
Contributor

commented Dec 15, 2011

This change broke the Series.to_string() unit test, since before length was added when using to_string().
I will do a pull request for a fix (it`s just one line that needs to changed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.