Skip to content

BUG: Correct behavior when reading empty dta files #53226

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 1 commit into from
May 15, 2023

Conversation

bashtage
Copy link
Contributor

Correct column selection when reading empty dta files Correct omitted dtype information in empty dta files

closes #46240

@bashtage bashtage force-pushed the fix-empty-stata branch 5 times, most recently from d79f2d7 to 2b2c87d Compare May 15, 2023 11:51
Correct column selection when reading empty dta files
Correct omitted dtype information in empty dta files

closes pandas-dev#46240
@bashtage bashtage added IO Stata read_stata, to_stata Bug labels May 15, 2023
@mroeschke mroeschke added this to the 2.1 milestone May 15, 2023
@mroeschke mroeschke merged commit d8046b5 into pandas-dev:main May 15, 2023
@mroeschke
Copy link
Member

Thanks @bashtage

Rylie-W pushed a commit to Rylie-W/pandas that referenced this pull request May 19, 2023
Correct column selection when reading empty dta files
Correct omitted dtype information in empty dta files

closes pandas-dev#46240
topper-123 pushed a commit to topper-123/pandas that referenced this pull request May 22, 2023
Correct column selection when reading empty dta files
Correct omitted dtype information in empty dta files

closes pandas-dev#46240
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
Correct column selection when reading empty dta files
Correct omitted dtype information in empty dta files

closes pandas-dev#46240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO Stata read_stata, to_stata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: read_stata ignores columns parameter and dtypes of empty dta files
2 participants