code: def _add_data_split_parsers(
      data_subparsers: SubParsersAction,
      parents: List[argparse.ArgumentParser],
  ) -> None:
      split_parser = data_subparsers.add_parser(
          "split",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          parents=parents,
          help="Splits Rasa data into training and test data.",
      )
      split_parser.set_defaults(
          func=lambda _: split_parser.print_help(None)
      )
  
      split_subparsers = split_parser.add_subparsers()
      nlu_split_parser = split_subparsers.add_parser(
          "nlu",
          parents=parents,
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Performs a split of your NLU data into training and test data "
          "according to the specified percentages.",
      )
      nlu_split_parser.set_defaults(func=split_nlu_data)
  
      arguments.set_split_arguments(nlu_split_parser)
  
      stories_split_parser = split_subparsers.add_parser(
          "stories",
          parents=parents,
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Performs a split of your stories into training and test data "
          "according to the specified percentages.",
      )
      stories_split_parser.set_defaults(func=split_stories_data)
  
      arguments.set_split_arguments(stories_split_parser)
  
imports: import argparse
  import logging
  import pathlib
  from typing import List
  import rasa.shared.core.domain
  from rasa import telemetry
  from rasa.cli import SubParsersAction
  from rasa.cli.arguments import data
  from rasa.cli.arguments import default_arguments
  import rasa.cli.utils
  from rasa.shared.constants import DEFAULT_DATA_PATH, DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH
  import rasa.shared.data
  from rasa.shared.importers.importer import TrainingDataImporter
  import rasa.shared.nlu.training_data.loading
  import rasa.shared.nlu.training_data.util
  import rasa.shared.utils.cli
  import rasa.utils.common
  import rasa.shared.utils.io
label_desc: Use image node_id 3 for calling a global function with example usage: _add_data_split_parsers(data_subparsers, parents) without return types