Skip to content

Commit 78458eb

Browse files
DOC: removed unwanted commentary statement as per suggestion pandas-dev#33399
1 parent aecb986 commit 78458eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5548,9 +5548,8 @@ def astype(
55485548
2 2020-01-03
55495549
dtype: datetime64[ns]
55505550
5551-
Convert to datetime type with time zone
5552-
(Behavior - Datetimes are localized to UTC first
5553-
before converting to the specified timezone):
5551+
Datetimes are localized to UTC first before
5552+
converting to the specified timezone:
55545553
55555554
>>> ser_date.astype('datetime64[ns, US/Eastern]')
55565555
0 2019-12-31 19:00:00-05:00

0 commit comments

Comments
 (0)