-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
API DesignDatetimeDatetime data dtypeDatetime data dtypeDeprecateFunctionality to remove in pandasFunctionality to remove in pandas
Milestone
Description
I was reviewing the PR on the DatetimeIndex docstring, and the list of parameters is horribly complex because you can both use it by passing data
(with accompanying keywords like copy
, dtype
, ..) and by generating a range with optional start
, end
, periods
.
Since for generating ranges, we have the special purpose pandas.date_range
, do we need to keep this functionality in the DatetimeIndex
constructor as well?
Of course deprecating it will annoy people who use it (although I think the majority of usage of DatetimeIndex passed data
), so the question is whether it is worth it.
jschendel
Metadata
Metadata
Assignees
Labels
API DesignDatetimeDatetime data dtypeDatetime data dtypeDeprecateFunctionality to remove in pandasFunctionality to remove in pandas