deepof.utils.tab2polar

deepof.utils.tab2polar(cartesian_df: DataFrame) DataFrame

Return a pandas.DataFrame in which all the coordinates are polar.

Parameters:

cartesian_df (pandas.DataFrame) – DataFrame containing tables with cartesian coordinates.

Returns:

Equivalent to input, but with values in polar coordinates.

Return type:

result (pandas.DataFrame)