Skip to content

BUG: read_csv for arrow with mismatching dtypes does not work #51976

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 4 commits into from
Mar 15, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Mar 15, 2023

@phofl phofl added the IO CSV read_csv, to_csv label Mar 15, 2023
@phofl phofl added this to the 2.0 milestone Mar 15, 2023
@mroeschke mroeschke merged commit 2a983bb into pandas-dev:main Mar 15, 2023
@mroeschke
Copy link
Member

Thanks @phofl

@lumberbot-app
Copy link

lumberbot-app bot commented Mar 15, 2023

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 2.0.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 2a983bb1c2e0c962d828dcd9c828d95c5d82bb5a
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #51976: BUG: read_csv for arrow with mismatching dtypes does not work'
  1. Push to a named branch:
git push YOURFORK 2.0.x:auto-backport-of-pr-51976-on-2.0.x
  1. Create a PR against branch 2.0.x, I would have named this PR:

"Backport PR #51976 on branch 2.0.x (BUG: read_csv for arrow with mismatching dtypes does not work)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

phofl added a commit to phofl/pandas that referenced this pull request Mar 15, 2023
…-dev#51976)

* BUG: read_csv for arrow with mismatching dtypes does not work

* Rename var
@phofl phofl deleted the 51876 branch March 15, 2023 18:06
mroeschke pushed a commit that referenced this pull request Mar 15, 2023
…atching dtypes does not work) (#51995)

BUG: read_csv for arrow with mismatching dtypes does not work (#51976)

* BUG: read_csv for arrow with mismatching dtypes does not work

* Rename var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO CSV read_csv, to_csv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: "TypeError: Cannot interpret 'string[pyarrow]' as a data type" when reading csv with pyarrow dtypes
2 participants