Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remap values in a column based on condition from another dataframe

code_dict = airport_codes.set_index('airport_code').to_dict()['airport']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remap #values #column #based #condition #dataframe
ADD COMMENT
Topic
Name
6+5 =