-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: replace not converting dtypes #3907
Comments
@cpcloud for you! |
there's an |
yes...didn't realize it was |
i thought copy didn't do anything in internals.py, changed recently? |
yep docs said true but i think forgot to change when i finally submitted the original pr |
ah i c copy is doing something ... |
actually this is tricky....because if say nothing changes then you don't need to copy, otherwise I guess you do.....maye just leave copy==True (if needs conversion, IOW there are ANY object blocks); |
Because I believe you copy a block in replace (if needed), so no point in copying twice... |
then again, say you don't actually replace anything....should STILL copy I guess |
i copy if |
ok...then its easy, I would drop |
sounds good |
btw is there an |
easy enough for me to put one in |
would do in a separate PR |
|
thanks |
problem is that now |
i.e., |
nvm fixed it |
@jreback i see that |
also |
in theory yes, but I'll be it works anyhow (and python may do some translation on that) |
check where things are used....I think |
hm, |
hm or just removed entirely |
thanks for the fix |
I believe
replace
should do aconvert_objects(copy=False)
after replacement to provide dtype soft-conversionThe text was updated successfully, but these errors were encountered: