DEPR: Deprecate pandas.datetime
- [x] closes #30610
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Hello @ryankarlos! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:





















There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2020-01-02 02:08:34 UTC having some issues with adding this Datetime class for py36 - was trying to keep it consistent with the way np  is handled - i get an error when trying to call pd.datetime in the test - can do pd.datetime.datetime although then  there is the problem of warning not been generated due to __getattr_ not being accessedd correctly.  

Also, original issue i had linked this PR with is now closed - do i need to open a new one for datetime ? @ryankarlos 
The intention of the test_depr() function is to test that the __getattr__() function of the wrapper class(e.g. __numpy() or __datetime() in your case) raises a warning.  > Also, original issue i had linked this PR with is now closed - do i need to open a new one for datetime ?


Yes please - and link the original issue. Also now that https://github.com/pandas-dev/pandas/pull/30386 has been merged the implementation could be simplified - similar to what we do for SparseSeries/SparseDataFrame.

Also can you merge master + take a look at test failures.

Thanks! @alimcmaster1  @datapythonista all green now - think ive addressed the required changes. very nice @ryankarlos thanks!