Skip to content

Commit 85aecbf

Browse files
Revert "add description for bugfix in whatsnew and missing type hints in datetimelike _shallow_copy"
This reverts commit 2f85256.
1 parent 2ea43c7 commit 85aecbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ Missing
412412
MultiIndex
413413
^^^^^^^^^^
414414
- :func:`DataFrame.loc` with ``axis=0`` and :class:`MultiIndex` when setting a value adds extra columns (:issue:`58116`)
415-
- :func:`MultiIndex.get_level_values` accessing a :class:`DatetimeIndex` does not carry the frequency attribute along (:issue:`58327`, :issue:`57949`)
415+
-
416416

417417
I/O
418418
^^^

pandas/core/indexes/datetimelike.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,9 @@ def take(
844844
return result
845845

846846
@doc(Index._shallow_copy)
847-
def _shallow_copy( # type: ignore[override]
847+
def _shallow_copy( # type: ignore[override]
848848
self,
849-
values: np.ndarray,
849+
values,
850850
name: Hashable = no_default,
851851
level_codes=no_default,
852852
) -> Self:

0 commit comments

Comments
 (0)