We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Overflow in to_datetime date parsing returns incorrect result
Steps/Code to reproduce bug
In [2]: from cudf import * In [5]: to_datetime([99991231], format="%Y%m%d") Out[5]: DatetimeIndex(['1816-03-29 05:56:08.066277376'], dtype='datetime64[ns]') In [6]: to_datetime(["99991231"], format="%Y%m%d") Out[6]: DatetimeIndex(['1816-03-29 05:56:08.066277376'], dtype='datetime64[ns]') In [7]: to_datetime(["99991231"]) Out[7]: DatetimeIndex(['1816-03-29 05:56:08.066277376'], dtype='datetime64[ns]')
Expected behavior If the date cannot be represented, an Exception should be raised that the representation overflows
Exception
Environment overview (please complete the following information)
docker pull
docker run
Environment details Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details
cudf/print_env.sh
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Overflow in to_datetime date parsing returns incorrect result
Steps/Code to reproduce bug
Expected behavior
If the date cannot be represented, an
Exception
should be raised that the representation overflowsEnvironment overview (please complete the following information)
docker pull
&docker run
commands usedEnvironment details
Please run and paste the output of the
cudf/print_env.sh
script here, to gather any other relevant environment detailsAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: