I have a list of different names. I want to take one name at a time and match it with values in a particular column in a data frame. If the conditions are met, the following calculation will be performed:
orderno == orderno + 1
However, unfortunately, the code does not seem to work. Is there anything that I can do to make sure it works?
DfCustomers['orderno'] = 0
for i in uniquecustomer:
if i == "DfCustomers['EntityName']":
orderno == orderno + 1
Aucun commentaire:
Enregistrer un commentaire