@transformer<EOL>def replace(input, **params):
PARAM_REPLACE_LIST = '<STR_LIT:replace>'<EOL>REPLACE_FIELD = '<STR_LIT>'<EOL>REPLACE_FIND_VALUE = '<STR_LIT>'<EOL>REPLACE_WITH_VALUE = '<STR_LIT>'<EOL>replace_list = params.get(PARAM_REPLACE_LIST)<EOL>for row in input:<EOL><INDENT>for replace in replace_list:<EOL><INDENT>if row[replace[REPLACE_FIELD]] == replace[REPLACE_FIND_VALUE]:<EOL><INDENT>row[replace[REPLACE_FIELD]] = replace[REPLACE_WITH_VALUE]<EOL><DEDENT><DEDENT><DEDENT>return input<EOL>
Replaces field value
:param input:
:param params:
:return: