Manipulation/selection#

Expr.append(other[, upcast])

Append expressions.

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

Get the index values that would sort this column.

Expr.argsort([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.cast(dtype[, strict])

Cast between data types.

Expr.ceil()

Rounds up to the nearest integer value.

Expr.clip(min_val, max_val)

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

Expr.clip_max(max_val)

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

Expr.clip_min(min_val)

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

Expr.drop_nans()

Drop floating point NaN values.

Expr.drop_nulls()

Drop all null values.

Expr.explode()

Explode a list or utf8 Series.

Expr.extend_constant(value, n)

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

Expr.fill_nan(fill_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(predicate)

Filter a single column.

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.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 nulls with linear interpolation over missing values.

Expr.limit([n])

Get the first n rows.

Expr.lower_bound()

Calculate the lower bound.

Expr.map_dict(remapping, *[, 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.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.reshape(dims)

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

Expr.reverse()

Reverse the selection.

Expr.round(decimals)

Round underlying floating point data by decimals digits.

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

Sample from this expression.

Expr.shift([periods])

Shift the values by a given period.

Expr.shift_and_fill(periods, fill_value)

Shift the values by a given period 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)

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, descending])

Return the k largest elements.

Expr.upper_bound()

Calculate the upper bound.

Expr.where(predicate)

Filter a single column.