Skip to content
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

GH - 624: Added dtype arg to read_sql #649

Merged
merged 7 commits into from
Apr 21, 2023
Merged

GH - 624: Added dtype arg to read_sql #649

merged 7 commits into from
Apr 21, 2023

Conversation

ramvikrams
Copy link
Contributor

@ramvikrams ramvikrams commented Apr 17, 2023

@ramvikrams ramvikrams changed the title GH - 624: Added dtype arg to reaf_sql GH - 624: Added dtype arg to read_sql Apr 17, 2023
@twoertwein twoertwein requested a review from Dr-Irv April 19, 2023 17:44
@twoertwein twoertwein mentioned this pull request Apr 20, 2023
2 tasks
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you do 2 things here:

  1. Another change to read_sql() is the introduction of the dtype_backend argument, so can you make that change in this PR?
  2. Can you modify your test to use a different argument for dtype, e.g., something likedtype={"int_column": float} should work. You may need to experiment with that.

@ramvikrams
Copy link
Contributor Author

Can you do 2 things here:

  1. Another change to read_sql() is the introduction of the dtype_backend argument, so can you make that change in this PR?
  2. Can you modify your test to use a different argument for dtype, e.g., something likedtype={"int_column": float} should work. You may need to experiment with that.

Done

pandas-stubs/io/sql.pyi Outdated Show resolved Hide resolved
tests/test_io.py Outdated Show resolved Hide resolved
tests/test_io.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @ramvikrams

@Dr-Irv Dr-Irv merged commit b9895fd into pandas-dev:main Apr 21, 2023
@ramvikrams ramvikrams deleted the t200 branch April 21, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants