-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
Option for showing length of series #15962
Comments
thanks duplicate of #7117 . PR's welcome! |
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 |
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 |
Code Sample, a copy-pastable example if possible
Problem description
There is a option
display.show_dimensions
which allow show the dimension of aDataFrame
, while it would be useful if the length of aSeries
can 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
The text was updated successfully, but these errors were encountered: