Packages

class Column extends Expression

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Column
  2. Expression
  3. AutoCloseable
  4. AnyRef
  5. 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. def %(value: Any): Column

    Modulus.

  4. def &&(value: Any): Column

    And.

  5. def *(value: Any): Column

    Divide.

  6. def +(value: Any): Column

    Plus.

  7. def -(value: Any): Column

    Minus.

  8. def /(value: Any): Column

    Divide.

  9. def <(value: Any): Column

    LessThan.

  10. def <=(value: Any): Column

    LessThanEqualTo.

  11. def <>(value: Any): Column

    NotEqualTo.

  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def ===(value: Any): Column

    EqualTo.

  14. def >(value: Any): Column

    GreaterThan.

  15. def >=(value: Any): Column

    GreaterThanEqualTo.

  16. val _ptr: Long
    Attributes
    protected[polars]
    Definition Classes
    Expression
  17. def alias(name: String): Column

    Rename the expression.

    Rename the expression.

    name

    new name for the expression

    Definition Classes
    Expression
  18. def and(other: Any): Column
  19. def as(name: String): Column

    Alias for alias.

    Alias for alias.

    name

    new name for the expression

    Definition Classes
    Expression
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def cast(dataType: DataType): Column

    Cast the expression to the specified DataType.

    Cast the expression to the specified DataType.

    dataType

    target data type

    Definition Classes
    Expression
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  23. def close(): Unit
    Definition Classes
    Expression → AutoCloseable
  24. def divide(other: Any): Column
  25. def dropNans(): Column

    Drop NaN values from this expression.

    Drop NaN values from this expression.

    Definition Classes
    Expression
  26. def dropNulls(): Column

    Drop null values from this expression.

    Drop null values from this expression.

    Definition Classes
    Expression
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equalTo(other: Any): Column
  29. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  30. def finalize(): Unit
    Definition Classes
    Expression → AnyRef
  31. def gatherEvery(n: Long): Column

    Gather every nth element.

    Gather every nth element.

    n

    gather elements with this step size (must be >= 1)

    Definition Classes
    Expression
  32. def gatherEvery(n: Long, offset: Long): Column

    Gather every nth element, starting at the offset.

    Gather every nth element, starting at the offset.

    n

    gather elements with this step size (must be >= 1)

    offset

    start gathering from this index (default is 0, must be >= 0)

    Definition Classes
    Expression
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def greaterThan(other: Any): Column
  35. def greaterThanEqualTo(other: Any): Column
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def head(): Column

    Get the first 10 elements of this expression.

    Get the first 10 elements of this expression.

    Definition Classes
    Expression
  38. def head(n: Long): Column

    Get the first n elements of this expression.

    Get the first n elements of this expression.

    n

    number of elements to return

    Definition Classes
    Expression
  39. def isBetween(lower: Any, upper: Any): Column

    Check if the expression values are between the lower and upper bounds (inclusive).

    Check if the expression values are between the lower and upper bounds (inclusive).

    lower

    lower bound

    upper

    upper bound

    Definition Classes
    Expression
  40. def isDuplicated: Column

    Mask indicating duplicated values in this expression.

    Mask indicating duplicated values in this expression.

    Definition Classes
    Expression
  41. def isEmpty: Column

    Check if the expression is empty.

    Check if the expression is empty.

    This is a whole-column aggregation returning a single boolean scalar, not a per-element check. Null values are not ignored.

    Definition Classes
    Expression
  42. def isFinite: Column

    Check if the values in this expression are finite.

    Check if the values in this expression are finite.

    Definition Classes
    Expression
  43. def isFirstDistinct: Column

    Mask indicating the first occurrence of distinct values in this expression.

    Mask indicating the first occurrence of distinct values in this expression.

    Definition Classes
    Expression
  44. def isIn(values: Array[Any]): Column

    Check if the expression values are present in the provided array.

    Check if the expression values are present in the provided array.

    values

    array of values to match

    Definition Classes
    Expression
  45. def isInfinite: Column

    Check if the values in this expression are infinite.

    Check if the values in this expression are infinite.

    Definition Classes
    Expression
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. def isLastDistinct: Column

    Mask indicating the last occurrence of distinct values in this expression.

    Mask indicating the last occurrence of distinct values in this expression.

    Definition Classes
    Expression
  48. def isNaN: Column

    Is NaN.

  49. def isNotNaN: Column

    Is Not NaN.

  50. def isNotNull: Column

    Is Not Null.

  51. def isNull: Column

    Is Null.

  52. def isUnique: Column

    Mask indicating unique values in this expression.

    Mask indicating unique values in this expression.

    Definition Classes
    Expression
  53. def lessThan(other: Any): Column
  54. def lessThanEqualTo(other: Any): Column
  55. def like(pattern: String): Column

    Check if the string expression matches the given SQL-like wildcard pattern.

    Check if the string expression matches the given SQL-like wildcard pattern.

    pattern

    SQL-like pattern (e.g. "ap%")

    Definition Classes
    Expression
  56. def limit(): Column

    Alias for head.

    Alias for head.

    Definition Classes
    Expression
  57. def limit(n: Long): Column

    Alias for head.

    Alias for head.

    n

    number of elements to return

    Definition Classes
    Expression
  58. def minus(other: Any): Column
  59. def mod(other: Any): Column
  60. def mode(): Column

    Return the most frequent values in this expression.

    Return the most frequent values in this expression.

    Definition Classes
    Expression
  61. def multiply(other: Any): Column
  62. def name: ColumnNameNameSpace

    Returns the namespace accessor for expression name manipulation.

    Returns the namespace accessor for expression name manipulation.

    Definition Classes
    Expression
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. def notEqualTo(other: Any): Column
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. def or(other: Any): Column
  68. def plus(other: Any): Column
  69. def reverse(): Column

    Reverse the order of elements in this expression.

    Reverse the order of elements in this expression.

    Definition Classes
    Expression
  70. def shift(): Column

    Shift elements in this expression by 1 position.

    Shift elements in this expression by 1 position.

    Definition Classes
    Expression
  71. def shift(periods: Long): Column

    Shift elements in this expression by periods.

    Shift elements in this expression by periods.

    periods

    number of positions to shift

    Definition Classes
    Expression
  72. def slice(offset: Long, length: Long): Column

    Get a slice of this expression.

    Get a slice of this expression.

    offset

    start index of the slice (negative indexing is supported)

    length

    length of the slice

    Definition Classes
    Expression
  73. def str: ColumnStrNameSpace

    Returns the namespace accessor for string-related expressions.

    Returns the namespace accessor for string-related expressions.

    Definition Classes
    Expression
  74. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  75. def tail(): Column

    Get the last 10 elements of this expression.

    Get the last 10 elements of this expression.

    Definition Classes
    Expression
  76. def tail(n: Long): Column

    Get the last n elements of this expression.

    Get the last n elements of this expression.

    n

    number of elements to return

    Definition Classes
    Expression
  77. def toString(): String
    Definition Classes
    AnyRef → Any
  78. def unary_!: Column

    Not.

  79. def unique(): Column

    Get unique values from this expression.

    Get unique values from this expression.

    Definition Classes
    Expression
  80. def unique(maintainOrder: Boolean): Column

    Get unique values from this expression.

    Get unique values from this expression.

    maintainOrder

    whether to maintain the original order of elements

    Definition Classes
    Expression
  81. def uniqueCounts(): Column

    Return the counts of unique values in this expression.

    Return the counts of unique values in this expression.

    Definition Classes
    Expression
  82. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  85. def ||(value: Any): Column

    And.

Inherited from Expression

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped