API: DatetimeIndex.get_loc(date) partial-slice? #47043
Labels
datetime.date
stdlib datetime.date support
Indexing
Related to indexing on series/frames, not to indexes themselves
ATM if we pass an stdlib date object, it gets upcast to a datetime object at midnight. But we could reasonably interpret it as covering the entire duration of that date, like we would with the corresponding string e.g. "2016-04-05".
The text was updated successfully, but these errors were encountered: