code: def _get_list_from_texts(self, texts):
      if sys.version_info[0] == 2:
          return texts.astype(unicode).tolist()
      else:
          return texts.astype(str).tolist()
  
file_path: scattertext/scattertext/DocsAndLabelsFromCorpus.py
imports: import numpy
  import sys
  from scattertext.ParsedCorpus import ParsedCorpus
label_desc: Use image node_id 5 for calling the DocsAndLabelsFromCorpus obj's underlying member method code with example usage: obj._get_list_from_texts(texts) and returns: texts, texts