Manipulation/selection#

Expr.append(other, *[, upcast])

Append expressions.

Expr.arg_sort(*[, descending, nulls_last])

Get the index values that would sort this column.

Expr.arg_true()

Return indices where expression evaluates True.

Expr.backward_fill([limit])

Fill missing values with the next to be seen values.

Expr.bottom_k([k])

Return the k smallest elements.

Expr.cast(dtype, *[, strict])

Cast between data types.

Expr.ceil()

Rounds up to the nearest integer value.

Expr.clip([lower_bound, upper_bound])

Set values outside the given boundaries to the boundary value.

Expr.clip_max(upper_bound)

Clip (limit) the values in an array to a max boundary.

Expr.clip_min(lower_bound)

Clip (limit) the values in an array to a min boundary.

Expr.cut(breaks, *[, labels, left_closed, ...])

Bin continuous values into discrete categories.

Expr.drop_nans()

Drop all floating point NaN values.

Expr.drop_nulls()

Drop all null values.

Expr.explode()

Explode a list expression.

Expr.extend_constant(value, n)

Extremely fast method for extending the Series with 'n' copies of a value.

Expr.fill_nan(value)

Fill floating point NaN value with a fill value.

Expr.fill_null([value, strategy, limit])

Fill null values using the specified value or strategy.

Expr.filter(*predicates, **constraints)

Filter the expression based on one or more predicate expressions.

Expr.flatten()

Flatten a list or string column.

Expr.floor()

Rounds down to the nearest integer value.

Expr.forward_fill([limit])

Fill missing values with the latest seen values.

Expr.gather(indices)

Take values by index.

Expr.gather_every(n[, offset])

Take every nth value in the Series and return as a new Series.

Expr.get(index)

Return a single value by index.

Expr.head([n])

Get the first n rows.

Expr.inspect([fmt])

Print the value that this expression evaluates to and pass on the value.

Expr.interpolate([method])

Fill null values using interpolation.

Expr.limit([n])

Get the first n rows (alias for Expr.head()).

Expr.lower_bound()

Calculate the lower bound.

Expr.map_dict(mapping, *[, default, ...])

Replace values in column according to remapping dictionary.

Expr.pipe(function, *args, **kwargs)

Offers a structured way to apply a sequence of user-defined functions (UDFs).

Expr.qcut(quantiles, *[, labels, ...])

Bin continuous values into discrete categories based on their quantiles.

Expr.rechunk()

Create a single chunk of memory for this Series.

Expr.reinterpret(*[, signed])

Reinterpret the underlying bits as a signed/unsigned integer.

Expr.repeat_by(by)

Repeat the elements in this Series as specified in the given expression.

Expr.replace(old[, new, default, return_dtype])

Replace values by different values.

Expr.reshape(dimensions)

Reshape this Expr to a flat Series or a Series of Lists.

Expr.reverse()

Reverse the selection.

Expr.rle()

Get the lengths and values of runs of identical values.

Expr.rle_id()

Get a distinct integer ID for each run of identical values.

Expr.round([decimals])

Round underlying floating point data by decimals digits.

Expr.round_sig_figs(digits)

Round to a number of significant figures.

Expr.sample([n, fraction, with_replacement, ...])

Sample from this expression.

Expr.shift([n, fill_value])

Shift values by the given number of indices.

Expr.shift_and_fill(fill_value, *[, n])

Shift values by the given number of places and fill the resulting null values.

Expr.shrink_dtype()

Shrink numeric columns to the minimal required datatype.

Expr.shuffle([seed])

Shuffle the contents of this expression.

Expr.slice(offset[, length])

Get a slice of this expression.

Expr.sort(*[, descending, nulls_last])

Sort this column.

Expr.sort_by(by, *more_by[, descending])

Sort this column by the ordering of other columns.

Expr.tail([n])

Get the last n rows.

Expr.take(indices)

Take values by index.

Expr.take_every(n[, offset])

Take every nth value in the Series and return as a new Series.

Expr.to_physical()

Cast to physical representation of the logical dtype.

Expr.top_k([k])

Return the k largest elements.

Expr.upper_bound()

Calculate the upper bound.

Expr.where(predicate)

Filter a single column.