Replies: 3 comments 11 replies
-
I'm hitting a similar issue: #885 Also, I have some additional thoughts about the new vds format:
|
Beta Was this translation helpful? Give feedback.
-
That is interesting, @aborruso. I specifically chose to stringify everything as a kind of "what you see is what you save", and let the column types convert them to their typed values when they're reloaded. It's also necessary to stringify
And then, we need to apply the same rule to I chose (3), and this is why even Also, I am curious why you would care about the internal format and want it to be any certain way. Are you wanting to send the output into another tool, as @frosencrantz does? Or is it just a sense of tidiness? |
Beta Was this translation helpful? Give feedback.
-
Hi @saulpw VisiData is a really great idea, and it's your idea. When I set a CSV field as inteteger in a vds file, I obtain that if I open it again I will view it in the same way I have saved it: an integer field. A strategy could be to save in JSONL format in the best way is it possible to using JSON format. If a field is an integer, save it as JSON integer. But if I have this kind of input json { "name": "DEF", "a": 1, "date": "2021-01-02", "time": "06:00" }
{ "name": "ABC", "a": 1, "date": "2021-01-02", "time": "05:40" } and I open it in VD, it read the
The vds file format is a usual a great idea of yours. It can stay that way and I don't see anything critical about it. Thank you for all |
Beta Was this translation helpful? Give feedback.
-
Hi,
if I have this CSV
and set
field2
as#
, and save it as jsonl I havefield2
is a number.If I export it as
vds
I have thatfield2
is not a number.What about to create a vds output that is fully compliant with field type chosen?
Beta Was this translation helpful? Give feedback.
All reactions