pandas.errors.OutOfBoundsDatetime — pandas 3.0.0rc0+40.gecf28e538a documentation (original) (raw)
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_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