-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
ENH: Map pandas integer to optimal SQLAlchemy integer type (GH35076) #38548
Conversation
d3ad26e
to
b0372fa
Compare
Note for future reference: On windows numpy 1.16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just needs a whatsnew entry for 1.3
doc/source/whatsnew/v1.3.0.rst
Outdated
@@ -244,6 +244,8 @@ I/O | |||
- Allow custom error values for parse_dates argument of :func:`read_sql`, :func:`read_sql_query` and :func:`read_sql_table` (:issue:`35185`) | |||
- Bug in :func:`to_hdf` raising ``KeyError`` when trying to apply | |||
for subclasses of ``DataFrame`` or ``Series`` (:issue:`33748`). | |||
- Bug in :func:`_sqlalchemy_type` that mapped pandas integer types to non-optimal SQLAlchemy integer types (:issue:`35076`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be an enhancement and should just mention that impacts to_sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, updated it
Mind fixing the merge conflict @avinashpancham? |
Sure, updated it. |
@mroeschke CI is greenish, only Travis gives an error due to other reasons. |
Thanks @avinashpancham |
…andas-dev#38548) * BUG: Map pandas integer to optimal SQLAlchemy integer type (GH35076) * Add conditional for default 32/64 bit integer size * Check precision of int dtype * Add whatsnew entry * Update whatsnew
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff