Backport PR #42087 on branch 1.3.x (REGR: undocumented astype("category").astype(str) type inconsistency between pandas 1.1 & 1.2)
Backport PR #42087: REGR: undocumented astype("category").astype(str) type inconsistency between pandas 1.1 & 1.2