Pandas Replace Method In Hashmap