Skip to content

Commit 6c8b76a

Browse files
committed
Remove unintended changes in pandas/core/indexes/datetimes.py
1 parent 149b9c4 commit 6c8b76a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pandas/core/indexes/datetimes.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
import datetime as dt
44
import operator
5-
from typing import TYPE_CHECKING
5+
from typing import (
6+
TYPE_CHECKING,
7+
Self,
8+
)
69
import warnings
710

811
import numpy as np
@@ -55,7 +58,6 @@
5558
DtypeObj,
5659
Frequency,
5760
IntervalClosedType,
58-
Self,
5961
TimeAmbiguous,
6062
TimeNonexistent,
6163
npt,
@@ -220,6 +222,7 @@ class DatetimeIndex(DatetimeTimedeltaMixin):
220222
to_pydatetime
221223
to_series
222224
to_frame
225+
to_julian_date
223226
month_name
224227
day_name
225228
mean

0 commit comments

Comments
 (0)