Packages

object functions

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. functions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def all(colName: String): Column
  5. def all(colName: String, ignoreNulls: Boolean): Column
  6. def all(col: Expression): Column
  7. def all(col: Expression, ignoreNulls: Boolean): Column
  8. def allHorizontal(cols: Expression*): Column
    Annotations
    @varargs()
  9. def any(colName: String): Column
  10. def any(colName: String, ignoreNulls: Boolean): Column
  11. def any(col: Expression): Column
  12. def any(col: Expression, ignoreNulls: Boolean): Column
  13. def anyHorizontal(cols: Expression*): Column
    Annotations
    @varargs()
  14. def approxNUnique(colName: String): Column
  15. def approxNUnique(col: Expression): Column
  16. def arctan2(yColName: String, xColName: String): Column

    Compute the element-wise arctangent of y / x from two column names.

    Compute the element-wise arctangent of y / x from two column names.

    yColName

    name of the column supplying the numerator

    xColName

    name of the column supplying the denominator

  17. def arctan2(y: Expression, x: Expression): Column

    Compute the element-wise arctangent of y / x, choosing the correct quadrant from the signs of both arguments.

    Compute the element-wise arctangent of y / x, choosing the correct quadrant from the signs of both arguments. The result is expressed in radians.

    y

    expression supplying the numerator (the "y" coordinate)

    x

    expression supplying the denominator (the "x" coordinate)

    returns

    a com.github.chitralverma.polars.api.expressions.Column of angles in radians

  18. def arctan2d(yColName: String, xColName: String): Column

    Compute the element-wise arctangent of y / x in degrees from two column names.

    Compute the element-wise arctangent of y / x in degrees from two column names.

    yColName

    name of the column supplying the numerator

    xColName

    name of the column supplying the denominator

  19. def arctan2d(y: Expression, x: Expression): Column

    Compute the element-wise arctangent of y / x in degrees.

    Compute the element-wise arctangent of y / x in degrees.

    y

    expression supplying the numerator (the "y" coordinate)

    x

    expression supplying the denominator (the "x" coordinate)

    returns

    a com.github.chitralverma.polars.api.expressions.Column of angles in degrees

  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def asc(col_name: String): Expression
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  23. def col(name: String): Column
  24. def count(colName: String): Column
  25. def count(col: Expression): Column
  26. def cumSum(colName: String): Column
  27. def cumSum(colName: String, reverse: Boolean): Column
  28. def cumSum(col: Expression): Column
  29. def cumSum(col: Expression, reverse: Boolean): Column
  30. def desc(col_name: String): Expression
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  33. def first(colName: String): Column
  34. def first(col: Expression): Column
  35. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def last(colName: String): Column
  39. def last(col: Expression): Column
  40. def len(colName: String): Column
  41. def len(col: Expression): Column
  42. def len(): Column
  43. def lit(value: Any): Expression
  44. def max(colName: String): Column
  45. def max(col: Expression): Column
  46. def maxHorizontal(cols: Expression*): Column
    Annotations
    @varargs()
  47. def mean(colName: String): Column
  48. def mean(col: Expression): Column
  49. def meanHorizontal(ignoreNulls: Boolean, cols: Expression*): Column
    Annotations
    @varargs()
  50. def meanHorizontal(cols: Expression*): Column
    Annotations
    @varargs()
  51. def median(colName: String): Column
  52. def median(col: Expression): Column
  53. def min(colName: String): Column
  54. def min(col: Expression): Column
  55. def minHorizontal(cols: Expression*): Column
    Annotations
    @varargs()
  56. def nUnique(colName: String): Column
  57. def nUnique(col: Expression): Column
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. def product(colName: String): Column
  62. def product(col: Expression): Column
  63. def quantile(colName: String, q: Double): Column
  64. def quantile(colName: String, q: Double, method: String): Column
  65. def quantile(col: Expression, q: Double): Column
  66. def quantile(col: Expression, q: Double, method: String): Column
  67. def std(colName: String): Column
  68. def std(colName: String, ddof: Int): Column
  69. def std(col: Expression): Column
  70. def std(col: Expression, ddof: Int): Column
  71. def sum(colName: String): Column
  72. def sum(col: Expression): Column
  73. def sumHorizontal(ignoreNulls: Boolean, cols: Expression*): Column
    Annotations
    @varargs()
  74. def sumHorizontal(cols: Expression*): Column
    Annotations
    @varargs()
  75. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  76. def toString(): String
    Definition Classes
    AnyRef → Any
  77. def var(colName: String): Column
  78. def var(colName: String, ddof: Int): Column
  79. def var(col: Expression): Column
  80. def var(col: Expression, ddof: Int): Column
  81. def variance(colName: String): Column
  82. def variance(colName: String, ddof: Int): Column
  83. def variance(col: Expression): Column
  84. def variance(col: Expression, ddof: Int): Column
  85. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  86. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  88. def when(condition: Expression, value: Any): When

    Start a when / otherwise conditional expression.

    Start a when / otherwise conditional expression.

    Provide a condition and the value to use where that condition is true. The returned com.github.chitralverma.polars.api.expressions.When may be extended with more when(...) branches and finalised with otherwise(...). When no otherwise is supplied, unmatched rows evaluate to null. The value from the first condition that is true is picked; if no condition is true, the otherwise value is used.

    condition

    a boolean expression selecting the rows to which value applies

    value

    the value for rows where the condition is true; an com.github.chitralverma.polars.api.expressions.Expression is used directly, any other value is treated as a literal

    returns

    a com.github.chitralverma.polars.api.expressions.When builder

    Note

    All branches are evaluated in parallel and filtered afterwards, so every value expression must be valid on its own, independent of the conditions in the chain.

    ,

    The output column name is taken from the first branch; it is not affected by the conditions.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped