-
Notifications
You must be signed in to change notification settings - Fork 23
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
Allow option in set_with_dataframe and get_as_dataframe to omit redundant higher-level labels in MultiIndex index columns #22
Comments
Just for clarity -- the 2nd variant is NOT an empty cell under |
OK then, let's re-define this as: Variant 2 - use empty values to avoid redundant higher-level labels on consecutive rows. Thus "empty cell under foo". Variant 3 - merge all the cells in a higher-level column with same higher-level label. Thus "double cell with foo". Problem with this is that it involves merging cells, which is a separate sheets API Incidentally, what would you like the new parameter to |
I suggest something like |
Here's a sample DataFrame, posted by @sam-s and copied here by me: Describe the bug Uploading a Version and Environment
and To Reproduce
now,
now upload it to google using Expected behavior I expect Screenshots here is what I get: here is what I want: Desktop (please complete the following information):
|
I'm going to write out the specs for this requested feature below: For both
Parsing behavior in |
An update, since I've been spending a little time on this feature. The work that remains is to have |
From an earlier issue #20 , @sam-s said:
In this case, I would like to have a separate column (with a header!) for each level.
I am torn between
and
I think there should be an option to select one of them, the default being the 1st variant.
The same goes for column indexes.
The text was updated successfully, but these errors were encountered: