DEPR: row-based indexing in DataFrame.__getitem__
Discussed recently in #9595.  The two tests this edits are the only two that go down this path AFAICT.


@jorisvandenbossche discussion notwithstanding, can i get your help in troubleshooting the doc build?  i put in "okwarnings" to fix the previous set of failures, not clear on why dft_minute is now undefined Repeating what I said above again: please open an issue first to discuss this. iirc there is an issue about this (though woudl have to search) The issue Brock mentioned is #9595, but that is much broader (about ``__getitem`` in general), so if that is the one you are thinking about, I would propose to create a new, specific issue for this topic > The issue Brock mentioned is #9595, but that is much broader (about `__getitem` in general), so if that is the one you are thinking about, I would propose to create a new, specific issue for this topic

i believe there is a specific issue this was discussed long ago > can you give examples of what user-facing behavior is being deprecated? I'd be in favor of deprecating fallback indexing for partial string slicing dataframes with datetime indexes

Exactly the example you gave.  The relevant cases are where we have all of the following:
- a DataFrame `df`
- `df.index` is either `DatetimeIndex` or `PeriodIndex`
- `key` is a date-like string
- `key not in df.columns`

(these conditions are basically psuedo-code for `convert_to_index_sliceable`) closing to clear the queue, will reivisit