def getRow(data, rowIndex):
    """
        Returns the row indicated by rowIndex from data which is assumed to be an array.
        Assuming that rowIndex will be a value from 0 to length of data - 1
    """
    return data[rowIndex]