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. Could someone help me to solve this detail?
Code
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