-
-
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
Revert changes to comparison between Series[datetime64ns] and datetime.date #21359
Comments
@jreback @jorisvandenbossche can we do this for 0.24.0? That would mean
|
that looks good to me |
We typically have deprecations for longer than a single release. Is there a good reason to not do that here? |
If this were the behavior in 0.23.0, I would agree with a longer deprecation cycle. Should the fact that 0.23.0 and 0.23.1 behave differently change our thoughts at all? (I'm not sure really) |
I don't think that that is a reason to have a shorter deprecation cycle (at least it does not give any problems with the different behaviour, as if you already changed your code to the correct way when using 0.23.0, this will also work for the later versions with the reverted comparison op) |
That's fair.
…On Fri, Jun 8, 2018 at 10:59 AM, Joris Van den Bossche < ***@***.***> wrote:
I don't think that that is a reason to have a shorter deprecation cycle
(at least it does not give any problems with the different behaviour, as if
you already changed your code to the correct way when using 0.23.0, this
will also work for the later versions with the reverted comparison op)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21359 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIlBRaAra-hbD9FiTCLQ1wmZhaB_rks5t6p9KgaJpZM4Ue0H->
.
|
#21359 (comment) looks like the plan was to implement the new behavior in 0.24.0. Any objection to doing it now? |
…-dev#27109) * DEPR: remove deprecated date casting; closes pandas-dev#21359
Revert the changes in #21361
core/ops.py
pandas/tests/tseries/test_arithmetic.py::TestTimestampSeriesComparison.test_dt64_ser_cmp_date_warning
pandas/tests/tseries/test_arithmetic.py::TestTimestampSeriesComparison.test_dt64ser_cmp_date_invalid
Target this for 0.24?
xref #21152
The text was updated successfully, but these errors were encountered: