Skip to content

BUG: DataFrame/Series constructor with tz aware data and datetime64[ns] dtype converts to naive #26167

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

Merged
merged 1 commit into from
Apr 21, 2019

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added DataFrame DataFrame data structure Timezones Timezone data dtype labels Apr 20, 2019
@mroeschke mroeschke added this to the 0.25.0 milestone Apr 20, 2019
@codecov
Copy link

codecov bot commented Apr 20, 2019

Codecov Report

Merging #26167 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26167      +/-   ##
==========================================
- Coverage   91.98%   91.97%   -0.01%     
==========================================
  Files         175      175              
  Lines       52377    52380       +3     
==========================================
- Hits        48180    48179       -1     
- Misses       4197     4201       +4
Flag Coverage Δ
#multiple 90.53% <100%> (ø) ⬆️
#single 40.71% <75%> (-0.15%) ⬇️
Impacted Files Coverage Δ
pandas/core/dtypes/cast.py 91.54% <100%> (+0.04%) ⬆️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 96.9% <0%> (-0.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc86509...b6b3049. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 20, 2019

Codecov Report

Merging #26167 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26167      +/-   ##
==========================================
- Coverage   91.98%   91.97%   -0.01%     
==========================================
  Files         175      175              
  Lines       52377    52380       +3     
==========================================
- Hits        48180    48179       -1     
- Misses       4197     4201       +4
Flag Coverage Δ
#multiple 90.53% <100%> (ø) ⬆️
#single 40.71% <75%> (-0.15%) ⬇️
Impacted Files Coverage Δ
pandas/core/dtypes/cast.py 91.54% <100%> (+0.04%) ⬆️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 96.9% <0%> (-0.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc86509...b6b3049. Read the comment docs.

@jreback jreback merged commit 5fa8a31 into pandas-dev:master Apr 21, 2019
@jreback
Copy link
Contributor

jreback commented Apr 21, 2019

thanks @mroeschke

@mroeschke mroeschke deleted the datetime64ns_aware_data branch April 21, 2019 17:51
ryanreh99 added a commit to ryanreh99/pandas that referenced this pull request Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DataFrame DataFrame data structure Timezones Timezone data dtype
Projects
None yet
2 participants