-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
BUG: series update #4080
Comments
sorry i'm having trouble reproducing right now, let me double check. |
i had a typo in the code, try it now. |
Yep - I see this on master. Hmmm... |
Now I'm only seeing it intermittently :( |
nvm, I see it consistently now... |
figured out the issue...it's in
|
yep...had this bug elsewhere...pr soon |
i think this is the problem change.dtype = r.dtype
change[:] = r |
@jreback do u mind if i take this one? |
oh darn |
this is actually quite non-trivial. The existing code works fine, but the parent DataFrame needs a way to update the blocks, related to #3970 (though that had more to do with a bug in consolidation) |
reback-fu is what we should start calling ur prs |
In place dtype changes are a nono. We need to find a better way |
Inplace dtype changes are required on an int series (though pretty rare), when converting to floats (or it simply doesn't change).....this can be fixed (I think) when Series is inhertited from NDFrame; then its the same as dtype changes in Frame, just replace the innarrds and return, the top-level object is unchanged. currently the dtype HAS to change inplace because the user has a reference to the Series not saying that this is a great solution, but only one currently |
closed by #3482 |
on my machine (pandas 0.11.1.dev-45d298d, linux) i get the rather unexpected output
The text was updated successfully, but these errors were encountered: