class_docstr: Object returned by explainers
class_docstr_tok: ["Object","returned","by","explainers"]
docstr: Returns a list of the names of the anchor conditions.
  Args:
      partial_index (int): lets you get the anchor until a certain index.
      For example, if the anchor is (A=1,B=2,C=2) and partial_index=1,
      this will return ["A=1", "B=2"]
docstr_tok: ["Returns","a","list","of","the","names","of","the","anchor","conditions",".","Args",":","partial_index","(","int",")",":","lets","you","get","the","anchor","until","a","certain","index",".","For","example",",","if","the","anchor","is","(","A=1",",","B=2",",","C=2",")","and","partial_index=1",",","this","will","return","[","``","A=1","''",",","``","B=2","''","]"]
code: def names(self, partial_index=None):
      """
      Returns a list of the names of the anchor conditions.
      Args:
          partial_index (int): lets you get the anchor until a certain index.
          For example, if the anchor is (A=1,B=2,C=2) and partial_index=1,
          this will return ["A=1", "B=2"]
      """
      names = self.exp_map["names"]
      if partial_index is not None:
          names = names[: partial_index + 1]
      return names
  
file_path: anchor/anchor/anchor_explanation.py
imports: from __future__ import print_function
  import io
label_desc: Use image node_id 2 for calling the AnchorExplanation obj's underlying member method code with example usage: obj.names(partial_index) and returns: names