Skip to content

Commit a6aaeb6

Browse files
authored
DOC: GH48097 remove optional from data for DatetimeIndex docs (pandas-dev#48118)
fix for issue pandas-dev#48097
1 parent 3512e24 commit a6aaeb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexes/datetimes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class DatetimeIndex(DatetimeTimedeltaMixin):
146146
147147
Parameters
148148
----------
149-
data : array-like (1-dimensional), optional
150-
Optional datetime-like data to construct index with.
149+
data : array-like (1-dimensional)
150+
Datetime-like data to construct index with.
151151
freq : str or pandas offset object, optional
152152
One of pandas date offset strings or corresponding objects. The string
153153
'infer' can be passed in order to set the frequency of the index as the

0 commit comments

Comments
 (0)