Trying to create a new column in the netc df but i get the warning
netc[\"DeltaAMPP\"] = netc.LOAD_AM - netc.VPP12_AM C:\\Anaconda\\lib\\site-packages\\ipykerne
You need to reset_index when you will create column especially if you have filtered on specific values... then you don't need to use .loc[row_indexer,col_indexer]
netc.reset_index(drop=True, inplace=True) netc["DeltaAMPP"] = netc.LOAD_AM - netc.VPP12_AM
Then it should work :)