8000 BUG: _convert_and_box_cache raise ValueError: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True by anmyachev · Pull Request #26097 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: _convert_and_box_cache raise ValueError: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True #26097

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 31 commits into from
Jul 3, 2019
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
655ec31
fixed _convert_and_box_cache that raised ValueError: Tz-aware datetim…
anmyachev Apr 15, 2019
6a9856e
Revert bandaid workaround
vnlitvinov Apr 16, 2019
ffd9ecf
Add test that fails only when to_datetime gets cache=True
vnlitvinov Apr 16, 2019
d6c584e
Fix to_datetime caching logic so test_to_datetime_offset passes
vnlitvinov Apr 16, 2019
00f72e0
Fix flake8 issues
vnlitvinov Apr 16, 2019
5ad9911
removed debugging stuff; 'name' is default argument now
anmyachev Apr 17, 2019
428cae0
added 'whatsnew'
anmyachev Apr 17, 2019
7ed05f2
Test that to_datetime produces equal result for cache on and off
vnlitvinov Apr 18, 2019
b60f1d5
fixed isort errors
anmyachev Apr 18, 2019
3e2df79
Rework _box_if_needed into _box_as_indexlike
vnlitvinov Apr 19, 2019
3f0285e
Clarify added tests intention
vnlitvinov Apr 19, 2019
d19c2cf
first using notations
anmyachev Apr 22, 2019
b1cf140
changed wildcard import in '/pandas/core/index.py' to explicit import
anmyachev Apr 22, 2019
56db677
changed 'notations' -> 'annotations'
anmyachev Apr 22, 2019
4f9ea36
fixed isort errors
anmyachev Apr 22, 2019
c72a561
rollback of a certain style for annotations
anmyachev Apr 23, 2019
67a0c40
added 'Scalar' and 'DatetimeScalar' unions
anmyachev Apr 24, 2019
1e0d953
added annotations for some arguments; changed formatting
anmyachev Apr 26, 2019
1942bbe
using 'assert_almost_equal' now
anmyachev Apr 28, 2019
97e4548
rerun CI tests
anmyachev Jun 12, 2019
342d7d0
fixed problems found by review
anmyachev Jun 12, 2019 8000
12f9853
replaced '# noqa' statement for flake8 linter
anmyachev Jun 14, 2019
62e75f8
removed 'Optional' using
anmyachev Jun 14, 2019
71ca9be
using TypeVar for 'DatetimeScalar' definition
anmyachev Jun 14, 2019
c35e124
fixed isort error
anmyachev Jun 14, 2019
d3412e2
fixed bug: 'UTC' and 'Etc/GMT' should be the same
anmyachev Jun 16, 2019
3141cb6
added comment about timezones
anmyachev Jun 16, 2019
ca200cd
removed 'UTC_EQ_STR', 'UTC_EQ'
anmyachev Jun 16, 2019
1cc469e
removing extra stuff
anmyachev Jul 2, 2019
137395f
fixed mypy errors
anmyachev Jul 2, 2019
2d8921b
renamed arg in '_box_as_indexlike' func: tz -> utc
anmyachev Jul 3, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed isort error
  • Loading branch information
anmyachev committed Jul 2, 2019
commit c35e124b0476ce17f4645d0cbb595512d6311d59
2 changes: 1 addition & 1 deletion pandas/core/tools/datetimes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import abc
from datetime import datetime, time
from functools import partial
from typing import Union, TypeVar
from typing import TypeVar, Union

import numpy as np

Expand Down
0