Module polars_lazy::dsl::functions  
source · Expand description
§Functions
Function on multiple expressions.
Structs§
- Arguments used bydatetimein order to produce anExprof Datetime
Functions§
- Selects all columns. Shorthand forcol("*").
- Create a new column with the bitwise-and of the elements in each row.
- Create a new column with the bitwise-or of the elements in each row.
- Likemap_binary, but used in a group_by-aggregation context.
- Generate a range of integers.
- arg_sort_byrangeFind the indexes that would sort these series in order of appearance. That means that the firstSerieswill be used to determine the ordering until duplicates are found. Once duplicates are found, the nextSerieswill be used and so on.
- arg_wherearg_whereGet the indices whereconditionevaluatestrue.
- Take several expressions and collect them into aStructChunked.
- Find the mean of all the values in the column namedname. Alias formean.
- Casts the column given byExprto a different type.
- Folds the expressions from left to right keeping the first non-null values.
- Create a Column Expression based on a column name.
- Collect allLazyFramecomputations.
- Select multiple columns by name.
- Concat multipleLazyFrames vertically.
- concat_lf_diagonaldiagonal_concat
- Concat LazyFrames horizontally.
- Concat lists entries.
- concat_strconcat_strandstringsHorizontally concat string columns in linear time
- Compute the covariance between two columns.
- cum_fold_exprsdtype-structAccumulate over multiple columns horizontally / row wise.
- cum_reduce_exprsdtype-structAccumulate over multiple columns horizontally / row wise.
- date_rangetemporalCreate a date range from astartandstopexpression.
- date_rangestemporalCreate a column of date ranges from astartandstopexpression.
- datetimetemporalConstruct a column ofDatetimefrom the providedDatetimeArgs.
- datetime_rangedtype-datetimeCreate a datetime range from astartandstopexpression.
- datetime_rangesdtype-datetimeCreate a column of datetime ranges from astartandstopexpression.
- Select multiple columns by dtype.
- Select multiple columns by dtype.
- durationtemporalConstruct a column ofDurationfrom the providedDurationArgs
- Accumulate over multiple columns horizontally / row wise.
- format_strconcat_strandstringsFormat the results of an array of expressions using a format string
- Select multiple columns by index.
- Generate a range of integers.
- Generate a range of integers for each row of the input columns.
- A column which isfalsewhereverexpris null,trueelsewhere.
- A column which istruewhereverexpris null,falseelsewhere.
- Find the maximum of all the values in the column namedname. Shorthand forcol(name).max().
- Find the mean of all the values in the column namedname. Shorthand forcol(name).mean().
- Find the median of all the values in the column namedname. Shorthand forcol(name).median().
- Find the minimum of all the values in the column namedname. Shorthand forcol(name).min().
- Negates a boolean column.
- Compute the pearson correlation between two columns.
- Find a specific quantile of all the values in the column namedname.
- Analogous toIterator::reduce.
- Create a column of lengthncontainingncopies of the literalvalue. Generally you won’t need this function, aslit(value)already represents a column containing onlyvaluewhose length is automatically set to the correct number of rows.
- rolling_corrrolling_window
- rolling_covrolling_window
- spearman_rank_corrrankandpropagate_nansCompute the spearman rank correlation between two columns. Missing data will be excluded from the computation.
- Sum all the values in the column namedname. Shorthand forcol(name).sum().
- time_rangedtype-timeGenerate a time range.
- time_rangesdtype-timeCreate a column of time ranges from astartandstopexpression.