def get_imgsize(row):
    (row['width'], row['height']) = imagesize.get(row['image_path'])
    return row
def get_imgsize(row):
    (row['width'], row['height']) = imagesize.get(row['image_path'])
    return row