Expand description
§Functions
Function on multiple expressions.
Structs§
- Chained
Then - Utility struct for the
when-then-otherwiseexpression. - Chained
When - Utility struct for the
when-then-otherwiseexpression. - Datetime
Args - Arguments used by
datetimein order to produce anExprof Datetime - Duration
Args - Arguments used by
durationin order to produce anExprofDuration - Then
- Utility struct for the
when-then-otherwiseexpression. - When
- Utility struct for the
when-then-otherwiseexpression.
Functions§
- all
- Selects all columns.
- all_
horizontal - Create a new column with the bitwise-and of the elements in each row.
- any_
horizontal - Create a new column with the bitwise-or of the elements in each row.
- arange
- Generate a range of integers.
- arg_
sort_ by range - Find the indexes that would sort these series in order of appearance.
- arg_
where arg_where - Get the indices where
conditionevaluatestrue. - as_
struct - Take several expressions and collect them into a
StructChunked. - avg
- Find the mean of all the values in the column named
name. Alias formean. - binary_
expr - Compute
op(l, r)(or equivalentlyl op r).landrmust have types compatible with the Operator. - business_
day_ count dtype-date - by_name
- Select multiple columns by dtype.
- cast
- Casts the column given by
Exprto a different type. - coalesce
- Folds the expressions from left to right keeping the first non-null values.
- col
- Create a Column Expression based on a column name.
- cols
- Select multiple columns by name.
- concat
- Concat multiple
LazyFrames vertically. - concat_
arr - Horizontally concatenate columns into a single array-type column.
- concat_
expr - concat_
lf_ diagonal diagonal_concat - Concat LazyFrames diagonally.
Calls
concatinternally. - concat_
lf_ horizontal - Concat LazyFrames horizontally.
- concat_
list - Concat lists entries.
- concat_
str concat_strandstrings - Horizontally concat string columns in linear time
- cov
- Compute the covariance between two columns.
- cum_
fold_ exprs dtype-struct - Accumulate over multiple columns horizontally / row wise.
- cum_
reduce_ exprs dtype-struct - Accumulate over multiple columns horizontally / row wise.
- date_
range dtype-date - Create a date range column from
start,end, andinterval, and expressions. - date_
ranges dtype-date - Create a column of date ranges from
start,end,interval, andnum_samplesexpressions. - datetime
- Construct a column of
Datetimefrom the providedDatetimeArgs. - datetime_
range dtype-datetime - Create a datetime range from
start,end,interval, andnum_samplesexpressions. - datetime_
ranges dtype-datetime - Create a column of datetime ranges from
start,end,interval, andnum_samplesexpressions. - dtype_
col - Select multiple columns by dtype.
- dtype_
cols - Select multiple columns by dtype.
- duration
dtype-duration - Construct a column of
Durationfrom the providedDurationArgs - element
- empty
- Selects no columns.
- first
- First column in a DataFrame.
- fold_
exprs - Accumulate over multiple columns horizontally / row wise.
- format_
str concat_strandstrings - Format the results of an array of expressions using a format string
- index_
cols - Select multiple columns by index.
- int_
range - Generate a range of integers.
- int_
ranges - Generate a range of integers for each row of the input columns.
- is_
not_ null - A column which is
falsewhereverexpris null,trueelsewhere. - is_null
- A column which is
truewhereverexpris null,falseelsewhere. - last
- Last column in a DataFrame.
- len
- Return the number of rows in the context.
- linear_
space - Generate a series of equally-spaced points.
- linear_
spaces - Create a column of linearly-spaced sequences from ‘start’, ‘end’, and ‘num_samples’ expressions.
- lit
- Create a Literal Expression from
L. A literal expression behaves like a column that contains a single distinct value. - max
- Find the maximum of all the values in the column named
name. Shorthand forcol(name).max(). - max_
horizontal - Create a new column with the maximum value per row.
- mean
- Find the mean of all the values in the column named
name. Shorthand forcol(name).mean(). - mean_
horizontal - Compute the mean of all values horizontally across columns.
- median
- Find the median of all the values in the column named
name. Shorthand forcol(name).median(). - min
- Find the minimum of all the values in the column named
name. Shorthand forcol(name).min(). - min_
horizontal - Create a new column with the minimum value per row.
- not
- Negates a boolean column.
- nth
- Nth column in a DataFrame.
- pearson_
corr - Compute the pearson correlation between two columns.
- quantile
- Find a specific quantile of all the values in the column named
name. - reduce_
exprs - Analogous to
Iterator::reduce. - repeat
- Create a column of length
ncontainingncopies of the literalvalue. - rolling_
corr rolling_windowandcov - rolling_
cov rolling_windowandcov - spearman_
rank_ corr rankandpropagate_nans - Compute the spearman rank correlation between two columns. Missing data will be excluded from the computation.
- sum
- Sum all the values in the column named
name. Shorthand forcol(name).sum(). - sum_
horizontal - Sum all values horizontally across columns.
- ternary_
expr - time_
range dtype-time - Generate a time range.
- time_
ranges dtype-time - Create a column of time ranges from a
startandstopexpression. - when
- Start a
when-then-otherwiseexpression.