how to use external mapping table in pandas