pandas.errors.OutOfBoundsDatetime#
- exception pandas.errors.OutOfBoundsDatetime[source]#
Raised when the datetime is outside the range that can be represented.
This error occurs when attempting to convert or parse a datetime value that exceeds the bounds supported by pandas’ internal datetime representation.
See also
to_datetimeConvert argument to datetime.
TimestampPandas replacement for python
datetime.datetimeobject.
Examples
>>> pd.to_datetime("08335394550") Traceback (most recent call last): OutOfBoundsDatetime: Parsing "08335394550" to datetime overflows, at position 0