-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: Add FutureWarning for pandas.io.sql.execute #50638
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
DEPR: Add FutureWarning for pandas.io.sql.execute #50638
Conversation
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.
Doc build is failing, mightt be related.
Could you remove all mentions in the docs?
Your mean is remove ' |
…/github.com/luke396/pandas into add-FutureWarning-for-pandas.io.sql.execute
Ah no, I think we mention this function in the user guide, this reference should be removed |
Fine, I will do it. The function seems not be mentioned in the user guide or any .rst file. I find some examples in comments use the function, and I change them. Hope this will work! |
pandas/core/generic.py
Outdated
@@ -2858,8 +2858,11 @@ def to_sql( | |||
|
|||
>>> df.to_sql('users', con=engine) | |||
3 | |||
>>> engine.execute("SELECT * FROM users").fetchall() |
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.
No need to change this, this is an alchemy engine, not our execute
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.
Same for all the examples below
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.
Same for all the examples below
I seem to mess up the whole PR, I will reopen a new on 😢
…turn scalars (pandas-dev#50593)" This reverts commit 47c9ee7.
This reverts commit 224ce2e.
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.