I want to do this basically in the Field Calculator ArcMap using its Python Parser:
if !AELEG! == 'L04'
!rock_type_age!.replace('Mid-Pleistocene-Holocene volcanic rocks (mainly rhyolite and dacite pyroclastic flow deposits')
So the field name with the codes is AELEG
and the code in question here is L04
, for every row in the field rock_type_age
that corresponds to L04
in the field AELEG
I want to add a string (in this case 'Mid-Pleistocene-Holocene volcanic rocks (mainly rhyolite and dacite pyroclastic flow deposits'
))
Any suggestions?