Reformulated the prism comparison to use pandas

Tested on small data and plotting part not working