Happy New Years! And some issues on trying to use the fill command. #2930
Replies: 2 comments 5 replies
-
|
That is a great idea, having the UI mark up columns that can't be written to! I often try to edit cells in uneditable columns, especially expression columns. Do you want to open an issue for this feature? For fill behavior, I actually prefer that If |
Beta Was this translation helpful? Give feedback.
-
|
Good news! Visidata has a setting to enable the behavior you want, filling in both
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Happy New Year!
I tried something recently with VisiData and had some thoughts about issues I encountered, and thought worth mentioning.
On New Year's Day there was this interesting blog post from Michael Kennedy about numbers Python developers should know. It has a lot of tables in it, perfect for extracting with VisiData.
I found a couple things I consider issues when trying to look at this site. I really only looked at the biggest table
Python numbers you should know (detailed version)The first column is the sparse “Category” column, because it is sparse I wanted to use the
f(setcol-fill)command. I rarely use this, but have run it enough to realize you need to hold it correctly:So I select all the empty rows using
,(select-equal-cell) and then useg=(setcol-expr) to set the value toNone, statusset 75 values = None. Then usedf.Did you catch my first mistake? I missed it. The
setcol-exprreported success, but actually did nothing. Why? Because the Column type used for HTML tables is non-modifiable. To me, there are several issues:setcol-exprwill not work on read-only columns?setcol-exprreport success?!So the actual steps are:
’(freeze-col).,(select-equal-cell) on an empty cell.g=(setcol-expr) toNone.f(setcol-fill)To me the issues mentioned above are:
The other observation I have, that I don’t have a strong opinion about, is that the default columns used for HTML are non-modifiable. Should these be writable by default. Maybe? The default for CSV is writable.
Beta Was this translation helpful? Give feedback.
All reactions