-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: Add DatetimeIndexResampler.nlargest #17791
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
Comments
|
@jreback @sinhrks
vesionINSTALLED VERSIONScommit: 9122952 pandas: 0.24.0.dev0+510.g9122952d8 |
I am using pandas version 1.0.1 and
|
pull requests are accepted; |
May I ask what you mean by "this is how issues get addressed in open source?" |
pandas and virtually all open source project are all volunteer the core team will review pull requests since there are 3000+ open issue most patches must come from the community issues get fixed when folks like you open pull requests |
Yeah I know that Pandas is an open-source project. But regarding this issue And since this issue was raised about 2 years and a half ago, I just wanted to point out that this has not been resolved yet. So it made me puzzle a little bit when you said "this is how issues get addressed in open source". |
there are no assignees (who would we assign?) and PRs would be linked to the issue that’s the point here - no one has submitted anything you or anyone else are welcome to do so in this or any other issue noting that something is not done is not that helpful - the issue is marked open what IS helpful is submitting changes / examples / |
Now I can see why your replies have been sour. I am new to this pandas-dev zone, so if it is rude to report an old issue once again, I would like to apologize. You don't need to be sulky like that either because that IS NOT helpful either, right? Good day |
@hellojinwoo thanks for the apology we have been getting the: why has this x year old issue not been resolved many times and to be honest it’s very rude of folks to do this but i guess new folks just don’t realize this so ok people work extremely hard in open source and volunteer much time - yet continued comments like this (and to be clear i am not calling you out at all) cause burnout for this thankless task so thank you for commenting in the issue |
Series.resample().nlargest
produces incorrect output
Code Sample, a copy-pastable example if possible
With this setup:
these two operations given different results:
Problem description
The
Series.resample().nlargest()
operation is inconsistent withDataFrame.resample()[column].nlargest()
and thegroupby
equivalent. It emits a warningOutput:
Expected output:
pd.show_versions() output:
INSTALLED VERSIONS
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Darwin
OS-release: 16.6.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_AU.UTF-8
LOCALE: en_AU.UTF-8
pandas: 0.20.1
pytest: 3.0.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
xarray: None
IPython: 5.3.0
sphinx: 1.6.3
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: 1.2.1
tables: 3.4.2
numexpr: 2.6.2
feather: None
matplotlib: 2.0.2
openpyxl: 2.4.7
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.3
bs4: 4.6.0
html5lib: 0.999
sqlalchemy: 1.1.9
pymysql: None
psycopg2: None
jinja2: 2.9.6
s3fs: None
pandas_gbq: None
pandas_datareader: 0.5.0
The text was updated successfully, but these errors were encountered: