src/random_forest.py
def readWholeFile(path):
    '''
    This function reads the files along with filenames from the given path
    and return an rdd containing filename and its data.

    Arg1: Path of the directory of the files.

    '''
    return sc.wholeTextFiles(path, minPartitions = 32)

    This function reads the files along with filenames from the given path
    and return an rdd containing filename and its data.

    Arg1: Path of the directory of the files.

    
This function reads the files along with filenames from the given path
and return an rdd containing filename and its data.

Path of the directory of the files.
This function reads the files along with filenames from the given path and return an rdd containing filename and its data . Path of the directory of the files .
def readWholeFile(path):
    return sc.wholeTextFiles(path, minPartitions = 32)
def readWholeFile ( path ) : return sc . wholeTextFiles ( path , minPartitions = 32 )
This function reads the files along with filenames from the given path
and return an rdd containing filename and its data.
This function reads the files along with filenames from the given path and return an rdd containing filename and its data .
'''
    This function reads the files along with filenames from the given path
    and return an rdd containing filename and its data.

    Arg1: Path of the directory of the files.

    '''
path