def get_value_from_mapping(df, search_column, search_value, return_column): location = get_value_from_mapping(site_mapping_df, 'Site', site, 'Location') region = get ...
data_sheet = wb['Sheet1'] # or whatever the name of your data sheet is mapping_sheet = wb['Sheet2'] # or whatever the name of your mapping sheet is for row in range(2, mapping_sheet.max_row + 1): host ...
Got a problem with an Excel spreadsheet. I have a non-specific data column in an Excel 2007 spreadsheet. The data in one column is zip codes in the form of both zip (5 digit, 00000) and zip+4 (10 ...