src/random_forest.py
def readFile(path):
    '''
    This function reads the files from the given path and return an rdd containing
    file data.

    Arg1: path of the directory of the files.

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

    This function reads the files from the given path and return an rdd containing
    file data.

    Arg1: path of the directory of the files.

    
This function reads the files from the given path and return an rdd containing
file data.

path of the directory of the files.
This function reads the files from the given path and return an rdd containing file data . path of the directory of the files .
def readFile(path):
    return sc.textFile(path,minPartitions = 32)
def readFile ( path ) : return sc . textFile ( path , minPartitions = 32 )
This function reads the files from the given path and return an rdd containing
file data.
This function reads the files from the given path and return an rdd containing file data .
'''
    This function reads the files from the given path and return an rdd containing
    file data.

    Arg1: path of the directory of the files.

    '''
path