[join-] concat: store src sheet names in a hidden col#2929
[join-] concat: store src sheet names in a hidden col#2929midichef wants to merge 1 commit intosaulpw:developfrom
Conversation
|
Isn't there already a hidden column |
|
It looks like |
|
Okay, so Also, I just noticed that joining a sheet with visidata/visidata/features/join.py Lines 75 to 76 in 57ff6af I'd like that join to succeed when all the joined sheets have 0 key columns. Should I implement both of these? |
|
Thanks, @midichef, an implementation would be appreciated. Ideally it would work like it does for concat, with the sheet object being stored in the underlying row data structure, and a hidden column providing the sheet object itself (which will display as its name). I'm not sure what origin_sheet would mean for those other join types (like |
Here's a prototype of a feature for convenience. When joining sheets with
concat, add a hidden column with the name of the source sheet.Should we do the same for
full,append, andmerge?