Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following method can be used to rename categorical data?

a) Categorical.rename_categories()
b) Categorical.rename()
c) Categorical.mv_categories()
d) None of the mentioned

Answer: a
Explanation: Renaming categories is done by assigning new values to the Series.cat.categories property.

Join The Discussion