class_docstr: A collection of data which can be pre-processed in parallel.
class_docstr_tok: ["A","collection","of","data","which","can","be","pre-processed","in","parallel","."]
docstr: Load XShards from pickle files.
  
  :param path: The pickle file path/directory
  :param minPartitions: The minimum partitions for the XShards
  :return: SparkXShards object
docstr_tok: ["Load","XShards","from","pickle","files",".",":","param","path",":","The","pickle","file","path\/directory",":","param","minPartitions",":","The","minimum","partitions","for","the","XShards",":","return",":","SparkXShards","object"]
code: def load_pickle(cls, path, minPartitions=None):
      """
  
      Load XShards from pickle files.
  
      :param path: The pickle file path/directory
      :param minPartitions: The minimum partitions for the XShards
      :return: SparkXShards object
      """
      sc = init_nncontext()
      return SparkXShards(sc.pickleFile(path, minPartitions))
  
imports: from py4j.protocol import Py4JError
  from zoo.orca.data.utils import *
  from zoo.orca import OrcaContext
  from zoo.common.nncontext import init_nncontext
  from zoo import ZooContext, get_node_and_core_number
  from zoo.util import nest
label_desc: Use image node_id 4 for calling the XShards obj's underlying member method code with example usage: obj.load_pickle(cls, path, minPartitions) and returns: SparkXShards