Skip to content

REPR: empty series not printing name in repr #4651

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
jreback opened this issue Aug 23, 2013 · 1 comment
Closed

REPR: empty series not printing name in repr #4651

jreback opened this issue Aug 23, 2013 · 1 comment
Labels
Output-Formatting __repr__ of pandas objects, to_string
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Aug 23, 2013

related #4236

maybe should print as:

Series([], name: foo, dtype: int64) ?

In [9]: s = Series([], dtype=np.int64, name='foo')

In [10]: s
Out[10]: Series([], dtype: int64)
In [7]: s2 = Series([1,2],name='foo')

In [8]: s2
Out[8]: 
0    1
1    2
Name: foo, dtype: int64
jreback added a commit that referenced this issue Nov 2, 2013
BUG: empty series not printing name in repr (#4651)
@jreback
Copy link
Contributor Author

jreback commented Nov 2, 2013

closed by #5335

@jreback jreback closed this as completed Nov 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

No branches or pull requests

1 participant