<p dir="auto">In RHEL 7.2, with python 2.7.5</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    a = pd.np.random.randn(10, 2)
    a.itemset((3, 0), pd.np.NAN)
    df = pd.DataFrame(a)
    res = df.describe()"><pre class="notranslate"><code class="notranslate">    a = pd.np.random.randn(10, 2)
    a.itemset((3, 0), pd.np.NAN)
    df = pd.DataFrame(a)
    res = df.describe()
</code></pre></div>
<hr>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="   /.../function_base.py:3823: RuntimeWarning: Invalid value encountered in percentile
  RuntimeWarning)
              0          1
count  8.000000  10.000000
mean  -0.406550  -0.220345
std    1.517141   0.791003
min   -1.942997  -1.607897
25%         NaN  -0.683385
50%         NaN  -0.281060
75%         NaN   0.303566
max    2.275532   1.227234"><pre class="notranslate"><code class="notranslate">   /.../function_base.py:3823: RuntimeWarning: Invalid value encountered in percentile
  RuntimeWarning)
              0          1
count  8.000000  10.000000
mean  -0.406550  -0.220345
std    1.517141   0.791003
min   -1.942997  -1.607897
25%         NaN  -0.683385
50%         NaN  -0.281060
75%         NaN   0.303566
max    2.275532   1.227234
</code></pre></div>
<hr>
<p dir="auto">pd.show_versions:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INSTALLED VERSIONS
------------------
commit: None
python: 2.7.5.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-327.18.2.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8

pandas: 0.18.1
nose: None
pip: 8.1.2
setuptools: 0.9.8
Cython: None
numpy: 1.11.0
scipy: 0.17.1
statsmodels: None
xarray: None
IPython: None
sphinx: None
patsy: None
dateutil: 1.5
pytz: 2012d
blosc: None
bottleneck: 1.0.0
tables: None
numexpr: 2.5.2
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
boto: None
pandas_datareader: None"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS
------------------
commit: None
python: 2.7.5.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-327.18.2.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8

pandas: 0.18.1
nose: None
pip: 8.1.2
setuptools: 0.9.8
Cython: None
numpy: 1.11.0
scipy: 0.17.1
statsmodels: None
xarray: None
IPython: None
sphinx: None
patsy: None
dateutil: 1.5
pytz: 2012d
blosc: None
bottleneck: 1.0.0
tables: None
numexpr: 2.5.2
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
boto: None
pandas_datareader: None
</code></pre></div>
<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="import pandas as pd
import numpy
s = pd.Series([1, 2, 3, 4, numpy.nan])
s.quantile(0.5)
nan"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span>
<span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>, <span class="pl-s1">numpy</span>.<span class="pl-s1">nan</span>])
<span class="pl-s1">s</span>.<span class="pl-en">quantile</span>(<span class="pl-c1">0.5</span>)
<span class="pl-s1">nan</span></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">I would expect 2.5 as output (as with version 0.17.1).</p>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<p dir="auto">commit: None<br>
python: 2.7.6.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 3.13.0-85-generic<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: de_DE.UTF-8</p>
<p dir="auto">pandas: 0.18.1<br>
nose: None<br>
pip: 1.5.4<br>
setuptools: 2.2<br>
Cython: None<br>
numpy: 1.11.0<br>
scipy: 0.16.1<br>
statsmodels: None<br>
xarray: None<br>
IPython: None<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.5.3<br>
pytz: 2016.4<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
matplotlib: 1.5.1<br>
openpyxl: 2.3.2<br>
xlrd: 0.9.4<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: None<br>
boto: None<br>
pandas_datareader: None</p>