-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
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
BUG: large datetimes incorrect in read_sas #56014
Comments
Opening
|
And the
|
Thanks @ChadFulton, i'll update the comments in the file to point back here as the Source Of Truth. |
I am also having this error where the
Reading the same file in R using the
|
There are a few tests in tests.io.sas.test_sas7bdat that need attention from someone with access to SAS.
We need to read the file "pandas/tests/io/sas/data/max_sas_date.sas7bdat" with SAS and inspect the first entry in the dt_as_dt column to confirm the expected behavior. It is also unclear what precision the result should have: the comment suggests milliseconds, we get microseconds, and pyreadstat rounds to seconds (xref WizardMac/ReadStat#306)
Similarly we need to read the file "pandas/tests/io/sas/data/datetime.sas7bdat" with SAS and inspect the first and last entries in the "DateTimeHi" column to ensure we are getting these right.
The text was updated successfully, but these errors were encountered: