code: def get_doc_indices(self):
      return self._y.astype(int)
  
file_path: scattertext/scattertext/Corpus.py
imports: import numpy
  import pandas
  from numpy import nonzero
  from scattertext.TermDocMatrix import TermDocMatrix
label_desc: Use image node_id 3 for calling the Corpus obj's underlying member method code with example usage: obj.get_doc_indices() and returns: self