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
Closed

Series.to_string Always Prints Length #489

craustin opened this issue Dec 14, 2011 · 3 comments
Labels
Milestone

Comments

@craustin
Copy link

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
Copy link
Member

wesm 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 as completed Dec 15, 2011
@craustin
Copy link
Author

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
Copy link
Contributor

lodagro 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).

dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Change numpy.fromstring to numpy.frombuffer due to deprecation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants