DEPR: tz-aware Series/DatetimIndex.__array__ returns an object array of Timestamps
- [x] closes #24716
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

IIRC the places where i see this warning are in xarray and matplotlib tests.  should we check with them to make sure they're ready for this?  cc @shoyer @tacaswell  closes #24716? Yup, looks like it. I guess waiting on xarray / mpl, can you open an issue on each of those trackers. Does/should this affect `np.array(datetimeindex)`? Yeah, https://github.com/pandas-dev/pandas/pull/30516/files#diff-b8a7b94d7e2ed5f7f109922e7bd3480cL313.

FWIW, I don't think we need to wait on xarray or matplotlib. These are warnings that should be seen by the user, and they have actions they can take already to avoid them. +1 for xarray -- this is something that users can already deal with as
needed

On Thu, Jan 2, 2020 at 9:47 AM Tom Augspurger <notifications@github.com>
wrote:

> *@TomAugspurger* approved this pull request.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/pandas-dev/pandas/pull/30516?email_source=notifications&email_token=AAJJFVRGXQX7FVU2XOA6TNTQ3YSEFA5CNFSM4KAAXYKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQRAQWY#pullrequestreview-337774683>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJJFVSCRWSRBM6DSSDSSBDQ3YSEFANCNFSM4KAAXYKA>
> .
>
 thanks @mroeschke 