I am new in the programming area. I have done some code making use of sources on the web. That is why I am having trouble. In my query I have used GeoPandas, Pandas and numpy library to make modifications in the table of a Feature class. When I run the code it performs the operation I wrote but when I check the FC in ArcGIS Pro it does not change.
capa_feature1 = gpd.read_file(r"D:\Proj_ASEAN\Proj_ArcGIS\Proj_ASEAN\SMOD.gdb") operacion = lambda x,y,z: (x - y -z) capa_feature1['SUM_Area_km2'] = np.where( capa_feature1['Area_km2'] == capa_feature1.iat[0,4], capa_feature1.iat[0,4], operacion(capa_feature1.iat[0,5],capa_feature1.iat[0,4],capa_feature1.iat[1,4])) capa_feature1
This is the code that I made. Why are no changes shown in the attribute table of the feature class?