class_docstr: A data interface for private data with meta information.
class_docstr_tok: ["A","data","interface","for","private","data","with","meta","information","."]
docstr: One-hot-encodes the data.
docstr_tok: ["One-hot-encodes","the","data","."]
code: def one_hot_encode_data(self, data):
      """One-hot-encodes the data."""
      return pd.get_dummies(
          data, drop_first=False, columns=self.categorical_feature_names
      )
  
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 4 for calling the PrivateData obj's underlying member method code with example usage: obj.one_hot_encode_data(data) and returns: pd