Trigonometric

class optimus.engines.base.columns.BaseColumns(root: optimus.helpers.types.DataFrameType)[source]

Base class for all Cols implementations

sin(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply sine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the sine of each element.

cos(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply cosine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the cosine of each element.

tan(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the tangent function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the tangent of each element.

asin(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the arcsine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the arcsine of each element.

acos(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply arccosine function to a column. :param cols: “*”, column name or list of column names to be processed. :param output_cols: Column name or list of column names where the transformed data will be saved. :return: Column containing the arccosine of each element.

atan(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the arctangent function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the arctangent of each element.

sinh(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the hyperbolic sine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the arctangent of each element.

cosh(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the hyperbolic cosine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the hyperbolic cosine of each element.

tanh(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the hyperbolic tangent function to a column. :param cols: “*”, column name or list of column names to be processed. :param output_cols: Column name or list of column names where the transformed data will be saved. :return: Column containing the hyperbolic tangent of each element.

asinh(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the arcus hyperbolic sine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the arcus hyperbolic sin of each element.

acosh(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the arcus hyperbolic cosine function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the arcus hyperbolic cosine of each element.

atanh(cols='*', output_cols=None) optimus.helpers.types.DataFrameType[source]

Apply the arcus hyperbolic tangent function to a column.

Parameters
  • cols – “*”, column name or list of column names to be processed.

  • output_cols – Column name or list of column names where the transformed data will be saved.

Returns

Column containing the arcus hyperbolic tangent of each element.