str_datetime

str_datetime(time_str: str)[source]

Convert a string in Datetime64[ns] format to a datetime object.

Parameters

time_str (str) – string representing the datetime

Returns

datetime which was represented by time_str

Return type

datetime