Skip to content

DOC: doc string is not very clear for Series.quantile #21292

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
peterpanmj opened this issue Jun 2, 2018 · 1 comment · Fixed by #21293
Closed

DOC: doc string is not very clear for Series.quantile #21292

peterpanmj opened this issue Jun 2, 2018 · 1 comment · Fixed by #21293
Labels

Comments

@peterpanmj
Copy link
Contributor

Problem description

What is a la ? Is it French or a typo ? Suggest change it to something easy to understand

pandas/pandas/core/series.py

Lines 1838 to 1840 in f1631be

def quantile(self, q=0.5, interpolation='linear'):
"""
Return value at the given quantile, a la numpy.percentile.

Output of pd.show_versions()

INSTALLED VERSIONS

commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None

pandas: 0.18.1
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.24.1
numpy: 1.13.3
scipy: 1.0.0
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.6.1
pytz: 2017.3
blosc: None
bottleneck: 1.1.0
tables: 3.2.2
numexpr: 2.6.4
matplotlib: 2.1.1
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.42.0
pandas_datareader: None

@uds5501
Copy link
Contributor

uds5501 commented Jun 2, 2018

@peterpanmj Well, it looks like series.quantile and numpy.percentile offer something similar. I don't know what the 'a la' means but to the best of my knowledge, I have submitted the PR to update the docs for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants