-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: _openpyxl.py load_workbook allow to modify the read_only, data_only and keep_links parameters using engine_kwargs #55027
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
Comments
I second that. It would be very helpful if one could change in particular the Currently (pandas==2.1.2) |
take |
…s to openpyxl using `engine_kwargs` Previously it was not possible to override the default values for `openpyxl.reader.excel.load_workbook`'s `read_only`, `data_only` and `keep_links` arguments (see pandas-dev#55027). Now these options can be changed via `engine_kwargs`. Closes pandas-dev#55027
…s to openpyxl using `engine_kwargs` Previously it was not possible to override the default values for `openpyxl.reader.excel.load_workbook`'s `read_only`, `data_only` and `keep_links` arguments (see pandas-dev#55027). Now these options can be changed via `engine_kwargs`. Closes pandas-dev#55027
…s to openpyxl using `engine_kwargs` Previously it was not possible to override the default values for `openpyxl.reader.excel.load_workbook`'s `read_only`, `data_only` and `keep_links` arguments (see pandas-dev#55027). Now these options can be changed via `engine_kwargs`. Closes pandas-dev#55027
…s to openpyxl using `engine_kwargs` (#55807) * ENH: Allow passing `read_only`, `data_only` and `keep_links` arguments to openpyxl using `engine_kwargs` Previously it was not possible to override the default values for `openpyxl.reader.excel.load_workbook`'s `read_only`, `data_only` and `keep_links` arguments (see #55027). Now these options can be changed via `engine_kwargs`. Closes #55027 * test data_only roundtrip * don't modify mutable parameter
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
Dear Developers,
I was updating my libraries using Pandas 2.1.0 and Openpyxl 3.1.2 as engine and I found a missing point, months ago it was added the opportunity to include in the engine_kwargs for this lib the keep_vba parameter but, the other parameters were stablished /forced by default. If we want to change the behaviour we cannot doing it from pandas, that's why I;m requesting to include all these parameters as well not only the VBA.
Feature Description
the current definition on _openpyxl.py file is:
Alternative Solutions
and it must be just 👍
` def load_workbook(
self, filepath_or_buffer: FilePath | ReadBuffer[bytes], engine_kwargs
) -> Workbook:
from openpyxl import load_workbook
Additional Context
Many thanks for your support,
The text was updated successfully, but these errors were encountered: