How to convert country code to name with country_converter, in pandas
How to convert country code to name with country_converter, in pandas Question: df Date Value CODE 0 2020-03-12 7 AFG 1 2020-03-11 7 AFG … How could I generate the country from the code? I tried which just generated the code from the CODE variable import country_converter as coco df[‘country’] = df[‘CODE’].apply(coco.convert) Actual Output: Date …
Total answers: 1