Column.__getattr__(item)
Column.__getattr__
An expression that gets an item at position ordinal out of a list, or gets an item by key out of a dict.
ordinal
Column.__getitem__(k)
Column.__getitem__
Column.alias(*alias, **kwargs)
Column.alias
Returns this column aliased with a new name or names (in the case of expressions that return more than one column, such as explode).
Column.asc()
Column.asc
Returns a sort expression based on the ascending order of the column.
Column.asc_nulls_first()
Column.asc_nulls_first
Returns a sort expression based on ascending order of the column, and null values return before non-null values.
Column.asc_nulls_last()
Column.asc_nulls_last
Returns a sort expression based on ascending order of the column, and null values appear after non-null values.
Column.astype(dataType)
Column.astype
astype() is an alias for cast().
astype()
cast()
Column.between(lowerBound, upperBound)
Column.between
True if the current column is between the lower bound and upper bound, inclusive.
Column.bitwiseAND(other)
Column.bitwiseAND
Compute bitwise AND of this expression with another expression.
Column.bitwiseOR(other)
Column.bitwiseOR
Compute bitwise OR of this expression with another expression.
Column.bitwiseXOR(other)
Column.bitwiseXOR
Compute bitwise XOR of this expression with another expression.
Column.cast(dataType)
Column.cast
Casts the column into type dataType.
dataType
Column.contains(other)
Column.contains
Contains the other element.
Column.desc()
Column.desc
Returns a sort expression based on the descending order of the column.
Column.desc_nulls_first()
Column.desc_nulls_first
Returns a sort expression based on the descending order of the column, and null values appear before non-null values.
Column.desc_nulls_last()
Column.desc_nulls_last
Returns a sort expression based on the descending order of the column, and null values appear after non-null values.
Column.dropFields(*fieldNames)
Column.dropFields
An expression that drops fields in StructType by name.
StructType
Column.endswith(other)
Column.endswith
String ends with.
Column.eqNullSafe(other)
Column.eqNullSafe
Equality test that is safe for null values.
Column.getField(name)
Column.getField
An expression that gets a field by name in a StructType.
Column.getItem(key)
Column.getItem
Column.ilike(other)
Column.ilike
SQL ILIKE expression (case insensitive LIKE).
Column.isNotNull()
Column.isNotNull
True if the current expression is NOT null.
Column.isNull()
Column.isNull
True if the current expression is null.
Column.isin(*cols)
Column.isin
A boolean expression that is evaluated to true if the value of this expression is contained by the evaluated values of the arguments.
Column.like(other)
Column.like
SQL like expression.
Column.name(*alias, **kwargs)
Column.name
name() is an alias for alias().
name()
alias()
Column.otherwise(value)
Column.otherwise
Evaluates a list of conditions and returns one of multiple possible result expressions.
Column.over(window)
Column.over
Define a windowing column.
Column.rlike(other)
Column.rlike
SQL RLIKE expression (LIKE with Regex).
Column.startswith(other)
Column.startswith
String starts with.
Column.substr(startPos, length)
Column.substr
Return a Column which is a substring of the column.
Column
Column.when(condition, value)
Column.when
Column.withField(fieldName, col)
Column.withField
An expression that adds/replaces a field in StructType by name.