def obj_to_panda(obj_file):
    """Convert a obj file into a panda data frame"""
    vertices = []
    normals = []
    faces = []
    file = open(obj_file, 'r')
    lines = file.readlines()
    file.close()
    for line in lines:
        if line.startswith('v'):
            data = line.split(' ')
            vertices.append([data[1], data[2], data[3]])
        elif line.startswith('vn'):
            data = line.split(' ')
            normals.append([data[1], data[2], data[3]])
        elif line.startswith('f'):
            data = line.split(' ')
            d = []
            for elem in data:
                d.append(elem.split('/'))
            faces.append(d)
        else:
            pass
    return vertices, normals, faces
