pastas.utils.excel2datetime#

excel2datetime(tindex, freq='D')[source]#

Method to convert excel datetime to pandas timetime objects.

Parameters
  • tindex (datetime index) – can be a datetime object or a pandas datetime index.

  • freq (str) –

Returns

datetimes

Return type

pandas.datetimeindex