You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A tip for those working with nested data, like JSON: you can make expand-cols prefix the column name with a character, for every level it expands. Just change a couple of settings in .visidatarc.:
vd.option('fmt_expand_dict', '›%s.%s', 'format str to use for names of columns expanded from dict (colname, key)') #default is '%s.%s'
vd.option('fmt_expand_list', '›%s[%s]', 'format str to use for names of columns expanded from list (colname, index)')
As a column is expanded, its name changes: element -> ›element.children -> ››element.children[0]. The change in prefix makes it faster to see which columns are expanded. Try it out!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
A tip for those working with nested data, like JSON: you can make
expand-cols
prefix the column name with a character, for every level it expands. Just change a couple of settings in.visidatarc.
:As a column is expanded, its name changes:
element
->›element.children
->››element.children[0]
. The change in prefix makes it faster to see which columns are expanded. Try it out!Beta Was this translation helpful? Give feedback.
All reactions