Skip to main content
Version: 1.5.0

Projection

TableFrame.dropDiscard columns from the TableFrame.
TableFrame.itemReturns a scalar value if the TableFrame contains exactly one user column and one row.
TableFrame.renameRename columns from the TableFrame.
TableFrame.selectSelect column(s) from the TableFrame.
TableFrame.udfApply a user-defined function (UDF) to the columns resolved by expr.
TableFrame.unnestExpand one or more struct columns so that each field within the struct becomes a separate column in the TableFrame.
TableFrame.with_columnsAdd columns to the TableFrame.
allSelect all columns in a TableFrame.
alphaSelect all columns with names made up of only alphabetic characters.
alphanumericSelect all columns whose names contain only letters and digits.
binarySelect all columns of binary (bytes) data type.
booleanSelect all columns of boolean data type.
by_dtypeSelect all columns of the specified data type.
by_indexSelect columns by their position in the TableFrame.
by_nameSelect all columns whose names match any given names.
categoricalSelect all columns with categorical data type.
containsSelect all columns whose names contain one or more of the given substrings.
dateSelect all columns of date data type.
datetimeSelect all columns of datetime data type.
decimalSelect all columns of decimal data type.
digitSelect all columns whose names consist only of digit characters.
durationSelect all columns of duration data type.
ends_withSelect all columns whose names end with any of the given suffixes.
excludeExclude specific columns from selection by name, data type, expression, or selector.
firstSelect the first column in the TableFrame.
floatSelect all columns of float data types.
integerSelect all columns with integer data types.
lastSelect the last column in the TableFrame.
matchesSelect all columns whose names match a regular expression pattern.
numericSelect all columns of numeric data types.
objectSelect all columns of object data type.
signed_integerSelect all columns of signed integer data types.
starts_withSelect all columns whose names start with any of the given prefixes.
stringSelect all columns of string or categorical data type.
temporalSelect all columns of temporal data types.
timeSelect columns of Python time values.
unsigned_integerSelect all columns of unsigned integer data types.