Convert the xpm file to a Pandas DataFrame