-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: DataFrame.reindex not following limit - 方法参数的错误 #28631
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
谢谢 @french-home for reporting this. It'd be very useful if you can provide what's the output in both versions. Thanks! |
Can I send it to you by mail?
…------------------ 原始邮件 ------------------
发件人: "Marc Garcia"<[email protected]>;
发送时间: 2019年9月26日(星期四) 晚上10:02
收件人: "pandas-dev/pandas"<[email protected]>;
抄送: "French"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [pandas-dev/pandas] BUG DataFream.rindex方法参数的错误 (#28631)
谢谢 @french-home for reporting this. It'd be very useful if you can provide what's the output in both versions. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Isn't it easier to simply copy it in a comment here? You can send it by email if that's a problem, but I think that can be easier. |
Due to regional restrictions, it is difficult to access Github in China, so I can only send it to you by email.
…------------------ 原始邮件 ------------------
发件人: "Marc Garcia"<[email protected]>;
发送时间: 2019年9月26日(星期四) 晚上10:18
收件人: "pandas-dev/pandas"<[email protected]>;
抄送: "French"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [pandas-dev/pandas] BUG DataFream.rindex方法参数的错误 (#28631)
Isn't it easier to simply copy it in a comment here? You can send it by email if that's a problem, but I think that can be easier.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sure, please send it to ************* (edited) and I'll update the description for you. |
I have sent the question to the email address you provided, please check it out!
…------------------ 原始邮件 ------------------
发件人: "Marc Garcia"<[email protected]>;
发送时间: 2019年9月26日(星期四) 晚上10:22
收件人: "pandas-dev/pandas"<[email protected]>;
抄送: "French"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [pandas-dev/pandas] BUG DataFream.rindex方法参数的错误 (#28631)
Sure, please send it to [email protected] and I'll update the description for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks a lot @french-home, it does look like a bug. I updated the description with your output, will have a look to see what's wrong when I have time. Thanks for reporting it. If you'd like to research what's the problem yourself, and you need help with that, please let me know, happy to help. |
So to make it a bit more explicit. Older versions correctly apply the "limit"
while 0.25 / master does not:
So this is a regression. |
So this boils down to
while the last element in that result should be -1. |
Definitely. I forgot to forward the pandas/pandas/core/indexes/range.py Line 354 in e9f6f6b
|
Python版本: 3.6.5
版本:pandas == 0.24.2
limit参数限制数据继续向后填充
版本:pandas==0.25.1
limit参数并没有限制数据继续向后填充
The text was updated successfully, but these errors were encountered: