class_docstr: The peek dataset module:
  
  Takes a peek into a dataset in textattack.
class_docstr_tok: ["The","peek","dataset","module",":","Takes","a","peek","into","a","dataset","in","textattack","."]
code: def register_subcommand(main_parser: ArgumentParser):
      parser = main_parser.add_parser(
          "peek-dataset",
          help="show main statistics about a dataset",
          formatter_class=ArgumentDefaultsHelpFormatter,
      )
      parser = textattack.DatasetArgs._add_parser_args(parser)
      parser.set_defaults(func=PeekDatasetCommand())
  
file_path: TextAttack/textattack/commands/peek_dataset_command.py
imports: from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
  import collections
  import re
  import numpy
  import textattack
  from textattack.commands import TextAttackCommand
label_desc: Use image node_id 2 for calling the PeekDatasetCommand obj's underlying member method code with example usage: obj.register_subcommand(main_parser) without return types