-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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/API: Fix .replace dtype conversion rules #12747
Labels
Milestone
Comments
xref (and may close) |
btw, the problem with the datetime with tz is that I force |
This was referenced Apr 3, 2016
jreback
pushed a commit
that referenced
this issue
Apr 10, 2016
related to #12747 and #12780 Author: sinhrks <[email protected]> Closes #12841 from sinhrks/dtype_tests and squashes the following commits: e11cc2a [sinhrks] TST: Add numeric coercion tests
xref #13047 on 32-bit platform some conversions are messed up. |
Additional case from #14550:
although here it is about coercing of the 'to_replace' value, and not of the fill value. |
jreback
pushed a commit
to jreback/pandas
that referenced
this issue
Mar 20, 2017
jreback
pushed a commit
to jreback/pandas
that referenced
this issue
Mar 20, 2017
closes pandas-dev#12747 Author: sinhrks <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes pandas-dev#12780 from sinhrks/replace_type and squashes the following commits: f9154e8 [sinhrks] remove unnecessary comments 279fdf6 [sinhrks] remove import failure de44877 [sinhrks] BUG: replace coerces incorrect dtype
This was referenced Mar 20, 2017
AnkurDedania
pushed a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
closes pandas-dev#12747 Author: sinhrks <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes pandas-dev#12780 from sinhrks/replace_type and squashes the following commits: f9154e8 [sinhrks] remove unnecessary comments 279fdf6 [sinhrks] remove import failure de44877 [sinhrks] BUG: replace coerces incorrect dtype
mattip
pushed a commit
to mattip/pandas
that referenced
this issue
Apr 3, 2017
closes pandas-dev#12747 Author: sinhrks <[email protected]> This patch had conflicts when merged, resolved by Committer: Jeff Reback <[email protected]> Closes pandas-dev#12780 from sinhrks/replace_type and squashes the following commits: f9154e8 [sinhrks] remove unnecessary comments 279fdf6 [sinhrks] remove import failure de44877 [sinhrks] BUG: replace coerces incorrect dtype
jreback
added a commit
to jreback/pandas
that referenced
this issue
May 31, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code Sample, a copy-pastable example if possible
1. replace bool with int (#12780)
NG, should be int Series
2. replace datetime/timedelta with int (#12780)
NG, should be int Series
3. replace datetime/timedelta with object (#12780)
NG, coerced to internal repr unexpectedly.
4. replace with datetimetz (#12780)
NG, coerced to GMT
5. replacement of string (open, see #15743)
output of
pd.show_versions()
Latest master.
The text was updated successfully, but these errors were encountered: