Skip to content

Fix SAS 0x40 control byte handling and column name parsing #47113

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

Merged
merged 10 commits into from
Jun 24, 2022

Conversation

jonashaag
Copy link
Contributor

@jonashaag jonashaag force-pushed the issue-31243 branch 5 times, most recently from 96856b6 to 050ec0a Compare May 27, 2022 22:40
@jonashaag jonashaag mentioned this pull request May 30, 2022
3 tasks
@mroeschke mroeschke added the IO SAS SAS: read_sas label Jun 3, 2022
jonashaag added 2 commits June 9, 2022 15:20
* Fix reading SAS7BDAT files with zero rows

* Add missing file

* Update test_sas7bdat.py
@pep8speaks
Copy link

pep8speaks commented Jun 9, 2022

Hello @jonashaag! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-06-15 20:39:47 UTC

@jonashaag jonashaag requested a review from mroeschke June 9, 2022 13:35
@mroeschke mroeschke added this to the 1.5 milestone Jun 9, 2022
@jreback
Copy link
Contributor

jreback commented Jun 9, 2022

we don't have an explict test file for this that repros?

@jonashaag
Copy link
Contributor Author

Oh wow, thanks for checking, this must have gone lost during a rebase.

@jonashaag
Copy link
Contributor Author

@jreback

@jonashaag
Copy link
Contributor Author

@jreback

@mroeschke mroeschke merged commit 5e3d0ed into pandas-dev:main Jun 24, 2022
@mroeschke
Copy link
Member

Thanks @jonashaag

yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
…v#47113)

* Fix reading SAS7BDAT files with zero rows (pandas-dev#47116)

* Fix reading SAS7BDAT files with zero rows

* Add missing file

* Update test_sas7bdat.py

* Review feedback

* Add back untested .rstrip

* Fix lint

* Add tests

* Fix rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO SAS SAS: read_sas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential bug in reading SAS files with CHAR (RLE) compression and many repeated characters
4 participants