diff --git a/visidata/features/dedupe.py b/visidata/features/dedupe.py index 994d163c5..e737ff693 100644 --- a/visidata/features/dedupe.py +++ b/visidata/features/dedupe.py @@ -20,7 +20,6 @@ """ -__version__ = "0.2.0" __author__ = "Jeremy Singer-Vine " from copy import copy @@ -104,8 +103,13 @@ def _reload(self=vs): # Add longname-commands to VisiData to execute these methods -BaseSheet.addCommand(None, "select-duplicate-rows", "sheet.select_duplicate_rows()") -BaseSheet.addCommand(None, "dedupe-rows", "sheet.dedupe_rows()") +BaseSheet.addCommand(None, "select-duplicate-rows", "sheet.select_duplicate_rows()", "select each row that is a duplicate of a prior row") +BaseSheet.addCommand(None, "dedupe-rows", "sheet.dedupe_rows()", "open new sheet in which only non-duplicate rows in the active sheet are included") + +vd.addMenuItems(''' + Row > Select > duplicate rows > select-duplicate-rows + Data > Deduplicate rows > dedupe-rows +''') """ # Changelog diff --git a/visidata/features/normcol.py b/visidata/features/normcol.py index 12be8478c..36e4546fb 100644 --- a/visidata/features/normcol.py +++ b/visidata/features/normcol.py @@ -39,7 +39,6 @@ """ -__version__ = "0.1.0" __author__ = "Jeremy Singer-Vine " from visidata import vd, Sheet, asyncthread, Progress @@ -116,4 +115,8 @@ def undo(): # Add longname-commands to VisiData to execute these methods -Sheet.addCommand(None, "normalize-col-names", "vd.sheet.normalize_column_names()") +Sheet.addCommand(None, "normalize-col-names", "vd.sheet.normalize_column_names()", "normalize the names of all non-hidden columns") + +vd.addMenuItems(''' + Column > Rename > normalize all > normalize-col-names +''') diff --git a/visidata/loaders/fec.py b/visidata/loaders/fec.py index f6ac8a304..e95f4c5c4 100644 --- a/visidata/loaders/fec.py +++ b/visidata/loaders/fec.py @@ -1,6 +1,5 @@ """ Filename: vdfec.py -Version: 0.0.0 Last updated: 2019-04-21 Home: https://github.com/jsvine/visidata-plugins Author: Jeremy Singer-Vine