A Categorical can have values renamed by assigning new values to the .categories property or using the .rename_categories() method.
Note that this was an in-place modification. To prevent an in-place modification, we can use the .rename_categories() method.
We can verify that this was not done in-place.