-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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: **kwargs in ExcelWriter #40430
Conversation
@@ -835,7 +862,8 @@ def __init__( | |||
datetime_format=None, | |||
mode: str = "w", | |||
storage_options: StorageOptions = None, | |||
**engine_kwargs, | |||
engine_kwargs: Optional[Dict] = None, | |||
**kwargs, |
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.
and not do this
): | ||
if kwargs: | ||
if engine_kwargs is not None: | ||
raise ValueError("Cannot use both engine_kwargs and **kwargs") |
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.
can you add a test for this
…cel_engine_kwargs � Conflicts: � doc/source/whatsnew/v1.3.0.rst
Thanks @jreback - changes made and green. I might not have understood your comment about setting |
thanks @rhshadrach |
Currently ExcelWriter has **engine_kwargs to pass through to the engine, although this is undocumented. All other places in pandas where engine_kwargs is used, they are a regular argument.
This PR