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 _strip(self, doc):
      i = 0
      j = 0
      for i, line in enumerate(doc):
          if line.strip():
              break
  
      for j, line in enumerate(doc[::-1]):
          if line.strip():
              break
  
      return doc[i : len(doc) - j]
  
imports: from collections import namedtuple
  from collections.abc import Mapping
  import copy
  import inspect
  import re
  import textwrap
  from statsmodels.tools.sm_exceptions import ParseError
label_desc: Use image node_id 7 for calling the NumpyDocString obj's underlying member method code with example usage: obj._strip(doc) and returns: doc