Skip to content
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

DEPR: Series/DataFrame with tzaware data and tznaive dtype #41555

Merged
merged 3 commits into from
May 21, 2021

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented May 18, 2021

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@simonjayhawkins
Copy link
Member

@jbrockmendel can you resolve conflicts

@simonjayhawkins
Copy link
Member

and add a release note. and a link to where this has been discussed.

@simonjayhawkins simonjayhawkins added Deprecate Functionality to remove in pandas Timezones Timezone data dtype labels May 21, 2021
@jbrockmendel
Copy link
Member Author

whatsnew added + green

pandas/core/dtypes/cast.py Show resolved Hide resolved
value = maybe_unbox_datetimelike(value, dtype)
except TypeError:
if (
isinstance(value, Timestamp)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this apply to a datetime as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, will update, along with test

pandas/tests/frame/test_constructors.py Show resolved Hide resolved
@jreback jreback merged commit 08314a8 into pandas-dev:master May 21, 2021
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request May 21, 2021
jreback pushed a commit that referenced this pull request May 22, 2021
TLouf pushed a commit to TLouf/pandas that referenced this pull request Jun 1, 2021
TLouf pushed a commit to TLouf/pandas that referenced this pull request Jun 1, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants