I have a an attribute table that does not have a raster value and is joined to another table that does. How do I reclassify the values in the attribute table?

For example, in column B, I'd like all values <5 to reflect the value 1. How do I do this classification?

  • 1
    Can't you create a new column and use field calculator for that? Jul 19, 2016 at 0:57

1 Answer 1


If you are working with a shapefile attribute table, you can export the shapefile with its joined table to a new shapefile, and the joined table will become permanent inside the new shapefile's attribute table. Next, add a new field of type integer and use the Field Calculator. Then you can write the following python code following Calculate Field examples, as follows:



Code Block:
def Reclass(Column):
  if Column < 5:
    return 1
    return 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.