How to convert cartesian coordinates into polar coordinates?

I have an array that contains cartesian coordinates but it is not useful in my project until I have to convert these coordinates into polar coordinates. Let’s suppose below, this is my array:

Cartesian coordinates:
[[0.24083832 0.73764484]
 [0.33908117 0.95944081]
 [0.4836026  0.42381607]
 [0.76110291 0.29311169]]

But I want this array values to be converted into polar coordinates. I don’t know how to code it but I’m sure there are many solutions available to achieve this task. If you know one, share it with me I will be grateful.