Renaming of variable values in arviz InferenceData object

is .astype what you are searching for?