To check that the Python code works:
The Discharged column now contains the value 'D'.
To get these changes to take effect in your Iguana interface, you must stop and then restart the channel you created in Step 3.