pandas.errors.OutOfBoundsDatetime — pandas 3.0.0.dev0+2098.g9c5b9ee823 documentation (original) (raw)
exception pandas.errors.OutOfBoundsDatetime#
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_datetime
Convert argument to datetime.
Timestamp
Pandas replacement for python datetime.datetime
object.
Examples
pd.to_datetime("08335394550") Traceback (most recent call last): OutOfBoundsDatetime: Parsing "08335394550" to datetime overflows, at position 0