-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REGR: invalid cache after take operation with non-consolidated dataframe #35521
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
pls show an example that reproduces the issue |
Closing as I can't reproduce this:
Please ping if you can provide a bug report as is suggested here https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports |
@simonjayhawkins noticed you'd put the 1.1.1 milestone - were you able to reproduce this? |
MarcoGorelli: Details is: now i have degraded to 1.0.5 and my program run ok again. thank you and thank pandas. |
supplement: the cell value printed show original value, following program continue run and report error. |
not tried to reproduce. using the 1.1.1 milestone as a tracker (for regressions and related PRs). 1.1.1 will be released next week and any items on the milestone still open at that time will be moved to 1.1.2 (or can review). the blocker tag can be used, but less relevant for a patch release as 1.1.2 could follow in 2-3 weeks. for the minor releases (i.e 1.2) it is common to only apply the milestone when the PR is close to be ready (and then also on the corresponding issue) when triaging issues i tend to either tag as 1.1.1(for regressions from 1.0.5) or contributions welcome (bugs and regressions from earlier versions) |
Thanks for explaining - OK have reopened so it can reviewed, though there's not much to go off of here |
this needs an actual reproducible example |
@on55 if you look at other bug reports, you'll see most use the template (available when opening a new issue) and ideally follow the guidance given in https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports |
moved off 1.1.1 milestone (scheduled for this week) as no PRs to fix in the pipeline |
today i upgraded pandas to 1.1.1, this issue still exist. Traceback (most recent call last): my program like this: the error:(i use pycharm debug mode to check it.) Previous program meet this condition judgement 'elif' several times , and each time it run ok. this time the value position.code[4] seems be changed, but it is not changed Essentially. now, i re-degrade my pandas version to 1.0.5 and everything is ok. |
@on55 could you please add a reproducible example as suggested above? |
@MarcoGorelli when i use pycharm run, it give a result( a wrong answer); debug_123.xlsx `
` i want code 'a' to transfer 'A', in run mode it is still 'a'; in debug mode it is changed to 'A'. one result show: another result show: |
With all due respect, this is a community-based project, it costs everyone time. Please see the link posted above for how to post a reproducible example, there shouldn't be any need to attach external data |
got it. i firstly submit issue here. i attach a excel with less data just for you can quickly run it. |
@on55 OK I see what you mean now:
I'll try putting together a short example now |
@on55 I've removed the irrelevant parts from your report, this reproduces the issue:
output:
expected output:
|
Yes, that is it. Your summary really catch point. |
but i recall my Initial question, this sentence is executed about 20 times in cycle (pycharm run mode). |
I tried to do a
|
The line One fix is to restore the |
a program run ok with pandas 1.0.5, but after upgrade to 1.1.0. it fail.
i found sometimes when I change one cell of dataframe value, print(df) and it doesn't change.
but i use ==, it says changed.
for example: original cell value is A, then i change cell value to B. A=B
print df, it show still A
df.at(x, x) == B, it says TRUE.
MarcoGorelli's edit: here's a reproducible example:
output:
expected output:
The text was updated successfully, but these errors were encountered: