docstr: Load the encoder from a pickle file.
  
  Args:
      path (str): path to load the encoder
docstr_tok: ["Load","the","encoder","from","a","pickle","file",".","Args",":","path","(","str",")",":","path","to","load","the","encoder"]
code: def load_from_object_file(self, path):
      """Load the encoder from a pickle file.
  
      Args:
          path (str): path to load the encoder
      """
      for k, v in pickle.load(open(path, "rb")).items():
          setattr(self, k, v)
  
imports: from pandas import DataFrame, Series, unique
  import numpy
  from rich.progress import track
  from sklearn.base import BaseEstimator, TransformerMixin
  from pytorch_tabular.utils import get_logger
label_desc: Use image node_id 7 for calling the BaseEncoder obj's underlying member method code with example usage: obj.load_from_object_file(path) without return types