A column in a DataFrame.
Column instances can be created by:
# 1. Select a column out of a DataFrame
# 2. Create from an expression
df.colName + 1
1 / df.colName
New in version 1.3.0.
Returns this column aliased with a new name or names (in the case of expressions that return more than one column, such as explode).
Returns a sort expression based on ascending order of the column.
Returns a sort expression based on ascending order of the column, and null values return before non-null values.
Returns a sort expression based on ascending order of the column, and null values appear after non-null values.
astype() is an alias for cast().
True if the current column is between the lower bound and upper bound, inclusive.
Compute bitwise AND of this expression with another expression.
Compute bitwise OR of this expression with another expression.
Compute bitwise XOR of this expression with another expression.
Casts the column into type dataType.
Contains the other element.
Returns a sort expression based on the descending order of the column.
Returns a sort expression based on the descending order of the column, and null values appear before non-null values.
Returns a sort expression based on the descending order of the column, and null values appear after non-null values.
An expression that drops fields in StructType by name.
String ends with.
Equality test that is safe for null values.
An expression that gets a field by name in a StructType.
An expression that gets an item at position ordinal out of a list, or gets an item by key out of a dict.
True if the current expression is NOT null.
True if the current expression is null.
A boolean expression that is evaluated to true if the value of this expression is contained by the evaluated values of the arguments.
SQL like expression.
name() is an alias for alias().
Evaluates a list of conditions and returns one of multiple possible result expressions.
Define a windowing column.
SQL RLIKE expression (LIKE with Regex).
String starts with.
Return a Column which is a substring of the column.
An expression that adds/replaces a field in StructType by name.