class Column extends Expression
- Alphabetic
- By Inheritance
- Column
- Expression
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def %(value: Any): Column
Modulus.
- def &&(value: Any): Column
And.
- def *(value: Any): Column
Divide.
- def +(value: Any): Column
Plus.
- def -(value: Any): Column
Minus.
- def /(value: Any): Column
Divide.
- def <(value: Any): Column
LessThan.
- def <=(value: Any): Column
LessThanEqualTo.
- def <>(value: Any): Column
NotEqualTo.
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===(value: Any): Column
EqualTo.
- def >(value: Any): Column
GreaterThan.
- def >=(value: Any): Column
GreaterThanEqualTo.
- val _ptr: Long
- Attributes
- protected[polars]
- Definition Classes
- Expression
- def alias(name: String): Column
Rename the expression.
- def and(other: Any): Column
- def as(name: String): Column
Alias for alias.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- Expression → AutoCloseable
- def divide(other: Any): Column
- def dropNans(): Column
Drop NaN values from this expression.
Drop NaN values from this expression.
- Definition Classes
- Expression
- def dropNulls(): Column
Drop null values from this expression.
Drop null values from this expression.
- Definition Classes
- Expression
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equalTo(other: Any): Column
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Definition Classes
- Expression → AnyRef
- 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
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def greaterThan(other: Any): Column
- def greaterThanEqualTo(other: Any): Column
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head(): Column
Get the first 10 elements of this expression.
Get the first 10 elements of this expression.
- Definition Classes
- Expression
- 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
- 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
- def isDuplicated: Column
Mask indicating duplicated values in this expression.
Mask indicating duplicated values in this expression.
- Definition Classes
- Expression
- 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
- def isFinite: Column
Check if the values in this expression are finite.
Check if the values in this expression are finite.
- Definition Classes
- Expression
- 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
- 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
- def isInfinite: Column
Check if the values in this expression are infinite.
Check if the values in this expression are infinite.
- Definition Classes
- Expression
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- def isNaN: Column
Is NaN.
- def isNotNaN: Column
Is Not NaN.
- def isNotNull: Column
Is Not Null.
- def isNull: Column
Is Null.
- def isUnique: Column
Mask indicating unique values in this expression.
Mask indicating unique values in this expression.
- Definition Classes
- Expression
- def lessThan(other: Any): Column
- def lessThanEqualTo(other: Any): Column
- 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
- def limit(): Column
Alias for
head.Alias for
head.- Definition Classes
- Expression
- def limit(n: Long): Column
Alias for
head. - def minus(other: Any): Column
- def mod(other: Any): Column
- def mode(): Column
Return the most frequent values in this expression.
Return the most frequent values in this expression.
- Definition Classes
- Expression
- def multiply(other: Any): Column
- def name: ColumnNameNameSpace
Returns the namespace accessor for expression name manipulation.
Returns the namespace accessor for expression name manipulation.
- Definition Classes
- Expression
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notEqualTo(other: Any): Column
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def or(other: Any): Column
- def plus(other: Any): Column
- def reverse(): Column
Reverse the order of elements in this expression.
Reverse the order of elements in this expression.
- Definition Classes
- Expression
- def shift(): Column
Shift elements in this expression by 1 position.
Shift elements in this expression by 1 position.
- Definition Classes
- Expression
- 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
- 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
- def str: ColumnStrNameSpace
Returns the namespace accessor for string-related expressions.
Returns the namespace accessor for string-related expressions.
- Definition Classes
- Expression
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail(): Column
Get the last 10 elements of this expression.
Get the last 10 elements of this expression.
- Definition Classes
- Expression
- 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
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unary_!: Column
Not.
- def unique(): Column
Get unique values from this expression.
Get unique values from this expression.
- Definition Classes
- Expression
- 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
- def uniqueCounts(): Column
Return the counts of unique values in this expression.
Return the counts of unique values in this expression.
- Definition Classes
- Expression
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def ||(value: Any): Column
And.