<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.Series(range(10))"><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-v">Series</span>(<span class="pl-en">range</span>(<span class="pl-c1">10</span>))</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">There is a option <code class="notranslate">display.show_dimensions</code> which allow show the dimension of a <code class="notranslate">DataFrame</code>, while it would be useful if the length of a <code class="notranslate">Series</code> can be set to show when the index is not a range list.</p>
<h4 dir="auto">Expected Output</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0    0
1    1
2    2
3    3
4    4
5    5
6    6
7    7
8    8
9    9
dtype: int64

[10 elements/items/or something else...]"><pre class="notranslate"><code class="notranslate">0    0
1    1
2    2
3    3
4    4
5    5
6    6
7    7
8    8
9    9
dtype: int64

[10 elements/items/or something else...]
</code></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Darwin
OS-release: 16.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
<p dir="auto">pandas: 0.19.2<br>
nose: 1.3.7<br>
pip: 9.0.1<br>
setuptools: 34.3.3<br>
Cython: 0.25.2<br>
numpy: 1.12.1<br>
scipy: 0.19.0<br>
statsmodels: 0.8.0<br>
xarray: 0.9.1<br>
IPython: 5.3.0<br>
sphinx: 1.5.3<br>
patsy: 0.4.1<br>
dateutil: 2.6.0<br>
pytz: 2016.10<br>
blosc: None<br>
bottleneck: 1.2.0<br>
tables: None<br>
numexpr: 2.6.2<br>
matplotlib: 2.0.0<br>
openpyxl: 2.4.5<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: 0.9.6<br>
lxml: 3.7.3<br>
bs4: 4.5.3<br>
html5lib: 0.999999999<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: 1.1.7<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.9.5<br>
boto: None<br>
pandas_datareader: 0.3.0.post</p>
</details>
<p dir="auto">rather than <code class="notranslate">display.max_rows</code> directly</p>
<p dir="auto">for considency with the new 'truncate' option</p>