-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Revert deprecation of con as keyword only arg #54750
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
Conversation
) | ||
df = DataFrame([{"A": 1, "B": 2, "C": 3}, {"A": 1, "B": 2, "C": 3}]) | ||
df.to_sql("example", self.conn) |
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.
df.to_sql("example", self.conn) |
Don't think this is needed?
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.
I’d like to keep it to keep a test that this does not raise close by
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.
Ah okay. I think you'll need a if_exists="replace"
below then.
…ord only arg) (#54766) Backport PR #54750: Revert deprecation of con as keyword only arg Co-authored-by: Patrick Hoefler <[email protected]>
con
as positional onto_sql
#54749 (Replace xxxx with the GitHub issue number)doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.