Data Cleaning Tip: Bulk Corrections with ge
#3135
frosencrantz
started this conversation in
Show and tell
Replies: 2 comments
|
I didn't know about |
0 replies
|
Thanks for sharing, @frosencrantz, you made my day. I appreciate your keen sense of how VisiData works (and sometimes how it should work, thank you for that too). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I recently used the
ge/setcol-input(formerlyedit-cells) command to clean some data for a friend. While I’ve used this command before, I appreciated how helpful it was this time and felt I should share. I think many users are already aware of this command.This command is particularly useful for cleaning up inconsistent values. A common case is when there are inconsistent values for the same logical item (e.g. “visidata”, “Visidata”, “VisiData”, “vd”). The
gecommand allows you to set the contents of the current column for the selected rows to one value.Here is how to use this command:
geand then hit Enter. You can make edits before hitting Enter.gewith a FrequencySheet. Edits made to cells in the FrequencySheet will be propagated back to the original sheet, if the original column is modifiable. The FrequencySheet will make it easier to see the unique values in the original sheet.The data I was cleaning has been scraped from a PDF file using AI. The data had some errors in the original data, and some added by the AI scraping. I found it very effective to use the
FrequencySheetto identify inconsistencies and then thegecommand to unify them, which made the cleanup process easier and faster.All reactions