-
I'm thrilled that I can use vd to view json/yaml, which are the formats I keep my bibliographies in. However, I'm don't understand how vd presents nested structures. For example, in the following I think it is telling me there are 5 authors, but what are the I'm also wondering how to query/filter, on dates, for example: Setting it to a date type |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @reagle, yes, For dates, python-dateutil understands a lot of formats, but it doesn't understand this |
Beta Was this translation helpful? Give feedback.
-
So, in this example the underlying data is like?:
FWIW @spw this is the kind of formatting I was referring to a while back. I find a little hard to understand at first glance and I think you really need to know a bit of python to fully understand it |
Beta Was this translation helpful? Give feedback.
Hey @reagle, yes,
[2]
and{2}
represent container objects (list and dict, respectively). You probably want to use(
to expand dicts into multiple columns. For lists you can use(
also if you want them columnarly, orzM
to unfurl them into multiple rows.For dates, python-dateutil understands a lot of formats, but it doesn't understand this
date-parts
list object yet :) You'll have to make a new column (probably using=
) that formats it into a date string, and then you can use@
on that.