def split(self, start=None, end=None, datatype=None, **kwargs):
        """
        The split method allows splitting a Path type into a list of
        subpaths of the same type. A start and/or end may be supplied
        to select a subset of paths.
        """
        if not self.interface.multi:
            if datatype == 'array':
                obj = self.array(**kwargs)
            elif datatype == 'dataframe':
                obj = self.dframe(**kwargs)
            elif datatype == 'columns':
                obj = self.columns(**kwargs)
            elif datatype is None:
                obj = self
            else:
                raise ValueError("%s datatype not support" % datatype)
            return [obj]
        return self.interface.split(self, start, end, datatype, **kwargs)
def split ( self , start = None , end = None , datatype = None , ** kwargs ) : if not self . interface . multi : if datatype == 'array' : obj = self . array ( ** kwargs ) elif datatype == 'dataframe' : obj = self . dframe ( ** kwargs ) elif datatype == 'columns' : obj = self . columns ( ** kwargs ) elif datatype is None : obj = self else : raise ValueError ( "%s datatype not support" % datatype ) return [ obj ] return self . interface . split ( self , start , end , datatype , ** kwargs )
The split method allows splitting a Path type into a list of
        subpaths of the same type. A start and/or end may be supplied
        to select a subset of paths.