class_docstr: Parses a numpydoc string to an abstract representation
  
  Instances define a mapping from section title to structured data.
class_docstr_tok: ["Parses","a","numpydoc","string","to","an","abstract","representation","Instances","define","a","mapping","from","section","title","to","structured","data","."]
code: def _str_index(self):
      idx = self["index"]
      out = []
      output_index = False
      default_index = idx.get("default", "")
      if default_index:
          output_index = True
      out += [".. index:: %s" % default_index]
      for section, references in idx.items():
          if section == "default":
              continue
          output_index = True
          out += ["   :%s: %s" % (section, ", ".join(references))]
      if output_index:
          return out
      return ""
  
imports: import inspect
  import textwrap
  import re
  import pydoc
  from warnings import warn
  from collections import namedtuple
  from collections.abc import Callable, Mapping
  import copy
  import sys
label_desc: Use image node_id 25 for calling the NumpyDocString obj's underlying member method code with example usage: obj._str_index() and returns: str, out