Replies: 2 comments 3 replies
-
Hi @i-jey, good question! I'd say the easiest way would be to make a custom type in your .visidatarc:
and then you would use |
Beta Was this translation helpful? Give feedback.
-
As of aba4efc (per #1488), I added a
which will set the This manual configuration in visidastarc seems like the simplest solution for your request. Saving metadata presets for a whole sheet, to be applied to other data sources, would probably be better handled with .vds metadata-only files, as suggested in #892. Let's give this a try for now and see how far it gets us. Maybe we can add some "AI" that notices when you've applied the same metadata multiple times to the same-named column, and then automatically adds it to the knownCols in your .visidatarc. |
Beta Was this translation helpful? Give feedback.
-
Say I have a set of static files,
data1.csv
,data2.csv
, etc., all of which adhere to the same format (i.e have the same header):img_id: float
,timestamp: float
,name: str
I have two questions:
If I open all these files up in visidata (maybe with some bash magic:
find . -type f -name "data*.csv" -exec vd {} +
), is there a way to apply operations across all sheets at the same time (e.g setting column types for example).Alternatively, is there a way to define a set of common operations on a set of known files (i.e any file which has the name
data*.csv
, will automatically open in visidata with certain presets). For example:img_id
column to int, thetimestamp
to float, etc.The most similar discussions seem to be
If I've missed an obvious discussion, apologies! Please let me know and I'll close this one. Cheers!
Beta Was this translation helpful? Give feedback.
All reactions