The password hash has to be created using the function:
https://pan-os-python.readthedocs.io/en/latest/module-device.html#panos.device.Administrator.change_password
Alternatively, you can use this to create the password and use the value returned as the panos.device.Administrator.password_hash value:
https://pan-os-python.readthedocs.io/en/latest/module-base.html#panos.base.PanDevice.request_password_hash
... View more