Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Option for showing length of series #15962
Comments
|
thanks duplicate of #7117 . PR's welcome! |
jreback
closed this
Apr 10, 2017
jreback
added Duplicate Output-Formatting
labels
Apr 10, 2017
jreback
added this to the
No action
milestone
Apr 10, 2017
|
In the other issue, it is said that this does happen when it is truncated, but you only cannot control it with the
Is this a regression? |
|
it has been this way for a long time. Sure it should/could be fixed. IIRC this was broken when |
jorisvandenbossche
referenced
this issue
Apr 11, 2017
Merged
BUG: show series length in repr when truncated (GH15962) #15974
|
Anyway, adding back the length when it is truncated is actually a very easy fix. And at once also did the show_dimensions issue: #15974 |
jreback
modified the milestone: 0.20.0, No action
Apr 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yevgnen commentedApr 10, 2017
•
edited
Code Sample, a copy-pastable example if possible
Problem description
There is a option
display.show_dimensionswhich allow show the dimension of aDataFrame, while it would be useful if the length of aSeriescan be set to show when the index is not a range list.Expected Output
Output of
pd.show_versions()pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 34.3.3
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: 0.9.1
IPython: 5.3.0
sphinx: 1.5.3
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: None
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: 2.4.5
xlrd: None
xlwt: None
xlsxwriter: 0.9.6
lxml: 3.7.3
bs4: 4.5.3
html5lib: 0.999999999
httplib2: None
apiclient: None
sqlalchemy: 1.1.7
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: 0.3.0.post