Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BUG: replace not converting dtypes #3907
Comments
|
@cpcloud for you! |
cpcloud
was assigned
Jun 14, 2013
|
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 |
cpcloud
referenced
this issue
Jun 14, 2013
Merged
BUG/API: remove infer_types from replace and fix compiled regex bug #3909
jreback
closed this
in #3909
Jun 15, 2013
|
thanks for the fix |
jreback commentedJun 14, 2013
I believe
replaceshould do aconvert_objects(copy=False)after replacement to provide dtype soft-conversion