File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,6 +377,23 @@ def cosh(col):
377377 return _invoke_function_over_column ("cosh" , col )
378378
379379
380+ def cot (col ):
381+ """
382+ .. versionadded:: 3.2.0
383+
384+ Parameters
385+ ----------
386+ col : :class:`~pyspark.sql.Column` or str
387+ angle in radians
388+
389+ Returns
390+ -------
391+ :class:`~pyspark.sql.Column`
392+ cotangent of the angle.
393+ """
394+ return _invoke_function_over_column ("cot" , col )
395+
396+
380397@since (1.4 )
381398def exp (col ):
382399 """
Original file line number Diff line number Diff line change @@ -298,6 +298,7 @@ def collect_set(col: ColumnOrName) -> Column: ...
298298def column (col : str ) -> Column : ...
299299def cos (col : ColumnOrName ) -> Column : ...
300300def cosh (col : ColumnOrName ) -> Column : ...
301+ def cot (col : ColumnOrName ) -> Column : ...
301302def count (col : ColumnOrName ) -> Column : ...
302303def cume_dist () -> Column : ...
303304def degrees (col : ColumnOrName ) -> Column : ...
You can’t perform that action at this time.
0 commit comments