This has nothing to do with the particulars of the function that you applied it to, this is solely a feature of the radius of curvature formula itself.
To say this with extreme brevity: the formula for $\rho$ is invariant when you reflect across the line $y=x$.
To explain this in greater length, starting from the radius of curvature formula for a function $y=f(x)$
$$\rho = \left( 1 + \left(\frac{dy}{dx}\right)^2 \right)^{3/2} \biggm/ \frac{d^2y}{dx^2}
$$
let's imagine for the moment that we are at a point $(x,y)$ where $\frac{dy}{dx} \ne 0$. The inverse function theorem therefore applies at this point, and so we have an inverse function $f^{-1}(y) = x$, and we know its derivative $(f^{-1})'(y) = \frac{1}{f'(x)}$.
This allows us to make some substitutions.
First, in place of $\frac{dy}{dx}$ one can substitute
$$\frac{1}{(f^{-1})'(y)} = \frac{1}{dx/dy}
$$
Second, one can also work out a formula for the second derivative of the inverse function:
$$\frac{d^2 x}{dy^2} = - \frac{d^2 y/ dx^2}{(dy/dx)^3}
$$
and so in place of $\frac{d^2y}{dx^2}$ one can substitute
$$-\frac{d^2x}{dy^2} (dy/dx)^3 = - \frac{d^2x}{dy^2}\frac{1}{(dx/dy)^3}
$$
When you make these substitutions you get
$$\rho = \left( 1 + \frac{1}{(dx/dy)^2} \right)^{3/2} \biggm/ \left(- \frac{d^2x}{dy^2}\frac{1}{(dx/dy)^3}\right) = - \left( 1 + \left(\frac{dx}{dy}\right)^2 \right)^{3/2} \biggm/ \frac{d^2x}{dy^2}
$$
Now there's one piece of funny business going on here, which is that pesky minus sign. Well, all that's happening here is that $\rho$ is really a non-negative quantity, and the original formula was missing absolute value symbols around the whole thing.
Okay, that's all fine at a point $(x,y)$ where $\frac{dy}{dx} \ne 0$; and at such a point we should notice that $\frac{dx}{dy} \ne 0$.
What about a point $(x,y)$ where $\frac{dy}{dx} = 0$ and $\frac{dx}{dy}$ is undefined? Well, we just use the $\frac{dy}{dx}$ formula anyway.
And what about a point $(x,y)$ where $\frac{dy}{dx}$ is undefined and $\frac{dx}{dy}=0$? In that case, we use the $\frac{dx}{dy}$ formula. If that still makes you unhappy, then you can make two variable substitutions. First, substitute $s=x$, $t=y$ and rewrite the formulas. And when you've done that, then substitute $y=s$ and $x=t$ and rewrite the formulas again, and out will pop the same old formula for $\rho$.
(But but but... what about a point where neither $\frac{dy}{dx}$ and $\frac{dx}{dy}$ are undefined? Well, now you are out of luck. The radius of curvature is not defined at such a point.)
There is one other thing to say here.
What is going on under the hood is that the substitution $y'=x$, $x'=y$, which leaves the formula for $\rho$ unchanged (if you are careful with absolute values), represents a rigid motion of the plane namely a reflection across the line $y=x$.
But there are other interesting rigid motions of the plane. For instance, translations to left or right given by $x'=x+a$, or translations up or down given by $y'=y+b$; each of those substitutions leaves the formula for $\rho$ unchanged.
And there's one more REALLY interesting rigid motion to ponder, namely a rotation of the plane through an angle of $\theta$, given by the formulas
$$x' = \cos\theta \, x - \sin\theta \, y
$$
$$y' = \sin\theta \, x + \cos\theta \, y
$$
If you go through the whole painful procedure of working out how this coordinate change affects the formula for curvature $\rho$, PRESTO! It is also unchanged.
The point here is that the radius of curvature $\rho$ is really a geometric measurement of a graph, independent of the coordinate system as long as you change coordinates by a rigid motion.