class_docstr: A data interface for private data with meta information.
class_docstr_tok: ["A","data","interface","for","private","data","with","meta","information","."]
docstr: Prepares user defined test input(s) for DiCE.
docstr_tok: ["Prepares","user","defined","test","input","(","s",")","for","DiCE","."]
code: def prepare_query_instance(self, query_instance):
      """Prepares user defined test input(s) for DiCE."""
      test = self.query_instance_to_df(query_instance)
      test = test.reset_index(drop=True)
      return test
  
imports: import collections
  import logging
  import sys
  from collections import defaultdict
  import numpy
  import pandas
  from sklearn.preprocessing import LabelEncoder
  from dice_ml.data_interfaces.base_data_interface import _BaseData
label_desc: Use image node_id 22 for calling the PrivateData obj's underlying member method code with example usage: obj.prepare_query_instance(query_instance) and returns: test