concept to_datetime in category pandas

appears as: to_datetime
Pandas in Action

This is an excerpt from Manning's book Pandas in Action.

An alternative solution is the to_datetime conversion function at the top level of the pandas library. The function accepts an iterable object (i.e., a Python list, tuple, Series, index, etc.), converts its values to datetimes, and returns the new values in a DatetimeIndex. Here's a small example.

In  [41] string_dates = ["2015-01-01", "2016-02-02", "2017-03-03"]
         dt_index = pd.to_datetime(string_dates)
         dt_index
 
Out [41] DatetimeIndex(['2015-01-01', '2016-02-02', '2017-03-03'],      
         dtype='datetime64[ns]', freq=None)

Let's try passing the to_datetime function the complete Date Series from the disney DataFrame.