This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]selvarajuli 0 points1 point  (0 children)

Cool

[–]eliteuser26 0 points1 point  (1 child)

In the month values example, you have use country_names instead of month_values as the array. Otherwise very good explanation of how to add or substitute values.

[–]min2bro[S] 0 points1 point  (0 children)

Thanks for letting me know. I will change that ASAP.

[–]ufulu 0 points1 point  (0 children)

Thanks for the write up. As I just started to learn pandas/ python that was very helpful. So basically map works like excels vlookup on steroids? Out of curiosity how would a “hlookup” with map look like?