-
Notifications
You must be signed in to change notification settings - Fork 953
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
combine_merged_cells
cannot capture all merges
#1334
Comments
Users will expect the value For sure this will take some time and either add a very large util function or introduce a big code change in We should start working on it after 6.0.0 is out that would be a great improvement to bring after the release. |
Thinking about it I would solve it as:
A different solution that we can try is: open an issue on Google side and request some API changes or some extra parameters that does it all for us. |
I think this is a very large change with lots to think about. I would rather add a warning that says it will not pull in data from outside the requested range, or as you say submit a request to Google's API. |
pushing this past 6.0.0 release |
Merges are actually just one value in the top left cell, and some metadata. If the top-left cell is not in your requested range, you cannot faithfully recreate the merge. For example:
If you called
worksheet.get_values("F3:H4", combine_merged_cells=True)
, what would you expect?1
or 2
We cannot recreate 1 without added complexity. We must return 2. This may be unexpected.
combine_merged_cells
was added in #1215. Its addition has brought several problems (#1298, #1330).What should we do? If we leave it in, it will always have this issue. If we remove it, it will be sad.
The text was updated successfully, but these errors were encountered: