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

BUG: fix AttributeError raised with pd.concat between a None and timezone-aware Timestamp #54428

Merged
merged 22 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d75762d
BUG: NaT instead of error for timestamp
srkds May 2, 2023
e17bd97
Merge remote-tracking branch 'upstream/main' into bug/52093/concat_no…
srkds May 3, 2023
8804de4
Merge remote-tracking branch 'upstream/main' into bug/52093/concat_no…
srkds May 8, 2023
c1c5675
Timestamp
srkds May 8, 2023
634e522
Merge remote-tracking branch 'upstream/main' into bug/52093/concat_no…
srkds May 9, 2023
4171a7c
whatsnew entry
srkds May 9, 2023
11db8f1
Resolved merge conflict: accepted both changes
srkds Jun 26, 2023
416f4a8
added actual bug test case
srkds Jun 26, 2023
8363a47
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Aug 5, 2023
71788fd
Update test
yuanx749 Aug 5, 2023
b902ade
Update whatsnew
yuanx749 Aug 6, 2023
f3ddec2
Add unit
yuanx749 Aug 10, 2023
2c9e3f5
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Aug 10, 2023
57dfdc5
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Aug 16, 2023
dc073e9
Update
yuanx749 Aug 21, 2023
d13d27c
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Aug 21, 2023
7f3d494
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Aug 28, 2023
287bee1
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Sep 10, 2023
4b5e247
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Oct 11, 2023
b9e4c8b
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Oct 23, 2023
4e76bbb
Merge remote-tracking branch 'upstream/main' into concat-none-dt
yuanx749 Oct 23, 2023
e5ae627
Move whatsnew
yuanx749 Oct 23, 2023
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
Move whatsnew
  • Loading branch information
yuanx749 committed Oct 23, 2023
commit e5ae627636865a64c082255ebc6490c8c18c0446
1 change: 0 additions & 1 deletion doc/source/whatsnew/v2.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ Datetimelike
- :meth:`DatetimeIndex.map` with ``na_action="ignore"`` now works as expected (:issue:`51644`)
- :meth:`DatetimeIndex.slice_indexer` now raises ``KeyError`` for non-monotonic indexes if either of the slice bounds is not in the index; this behaviour was previously deprecated but inconsistently handled (:issue:`53983`)
- Bug in :class:`DateOffset` which had inconsistent behavior when multiplying a :class:`DateOffset` object by a constant (:issue:`47953`)
- Bug in :func:`concat` raising ``AttributeError`` when concatenating all-NA DataFrame with :class:`DatetimeTZDtype` dtype DataFrame. (:issue:`52093`)
- Bug in :func:`date_range` when ``freq`` was a :class:`DateOffset` with ``nanoseconds`` (:issue:`46877`)
- Bug in :func:`to_datetime` converting :class:`Series` or :class:`DataFrame` containing :class:`arrays.ArrowExtensionArray` of PyArrow timestamps to numpy datetimes (:issue:`52545`)
- Bug in :meth:`.DatetimeArray.map` and :meth:`DatetimeIndex.map`, where the supplied callable operated array-wise instead of element-wise (:issue:`51977`)
Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/v2.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ Categorical

Datetimelike
^^^^^^^^^^^^
- Bug in :func:`concat` raising ``AttributeError`` when concatenating all-NA DataFrame with :class:`DatetimeTZDtype` dtype DataFrame. (:issue:`52093`)
- Bug in :meth:`DatetimeIndex.union` returning object dtype for tz-aware indexes with the same timezone but different units (:issue:`55238`)
- Bug in :meth:`Tick.delta` with very large ticks raising ``OverflowError`` instead of ``OutOfBoundsTimedelta`` (:issue:`55503`)
- Bug in adding or subtracting a :class:`Week` offset to a ``datetime64`` :class:`Series`, :class:`Index`, or :class:`DataFrame` column with non-nanosecond resolution returning incorrect results (:issue:`55583`)
Expand Down