Do you mean `pd.to_datetime`? `pd.datetime` is the Python library's `datetime.datetime` constructor:

```
In [6]: import inspect

In [7]: inspect.getfile(pd.datetime)
Out[7]: '/usr/lib64/python3.3/datetime.py'
```

Also, ``ref:`timeseries.datetimeindex` `` should be ``:class:`~pandas.DatetimeIndex` `` and `pd.to_datetime` should be referenced as ``:func:`~pandas.to_datetime` ``.