excel_to_json is accessing the same values from row_values by index multiple times. Defining intermediate variables (e.g. defining name = row_values[6] and using name variable later on) and avoiding accessing an element by index more than once might have a positive impact
excel_to_jsonis accessing the same values fromrow_valuesby index multiple times. Defining intermediate variables (e.g. definingname = row_values[6]and using name variable later on) and avoiding accessing an element by index more than once might have a positive impact