Closed
Description
- Avoid DeprecationWarning followed by exception: BUG: validate Index data is 1D + deprecate multi-dim indexing #30588 (comment)
- Update tests to filter warnings in plotting https://github.com/pandas-dev/pandas/pull/30588/files/74dffbedacb34bde7e5a8fb2396e0fef9efac499#diff-4b6d08e53050950f83ea75e432302f89
- Change CategoricalIndex behavior to raise, matching IntervalIndex BUG: validate Index data is 1D + deprecate multi-dim indexing #30588 (comment)
- Deprecate it in
Series.__getitem__
as well, similar toIndex.__getitem__