set value based on column
df.loc[df['c1'] == 'Value', 'c2'] = 10
sql update record
SQL> UPDATE CUSTOMERS
SET ADDRESS = 'Pune'
WHERE ID = 6;
sql statement to change a field value
UPDATE employees
SET
address = '1300 Carter St',
city = 'San Jose',
postalcode = 95125,
region = 'CA'
WHERE
employeeID = 3;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us