Manipulation/selection#

Series.alias(name)

Return a copy of the Series with a new alias/name.

Series.append(other[, append_chunks])

Append a Series to this one.

Series.arg_sort([reverse, nulls_last])

Get the index values that would sort this Series.

Series.argsort([reverse, nulls_last])

Get the index values that would sort this Series.

Series.cast(dtype[, strict])

Cast between data types.

Series.ceil()

Rounds up to the nearest integer value.

Series.cleared()

Create an empty copy of the current Series.

Series.clip(min_val, max_val)

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

Series.clip_max(max_val)

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

Series.clip_min(min_val)

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

Series.clone()

Very cheap deepcopy/clone.

Series.drop_nans()

Drop NaN values.

Series.drop_nulls()

Create a new Series that copies data from this Series without null values.

Series.explode()

Explode a list or utf8 Series.

Series.extend_constant(value, n)

Extend the Series with given number of values.

Series.fill_nan(fill_value)

Fill floating point NaN value with a fill value.

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

Fill null values using the specified value or strategy.

Series.filter(predicate)

Filter elements by a boolean mask.

Series.floor()

Rounds down to the nearest integer value.

Series.head([n])

Get the first n rows.

Series.interpolate([method])

Interpolate intermediate values.

Series.limit([n])

Get the first n rows.

Series.new_from_index(index, length)

Create a new Series filled with values from the given index.

Series.rechunk([in_place])

Create a single chunk of memory for this Series.

Series.rename(name[, in_place])

Rename this Series.

Series.reshape(dims)

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

Series.reverse()

Return Series in reverse order.

Series.round(decimals)

Round underlying floating point data by decimals digits.

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

Sample from this Series.

Series.set(filter, value)

Set masked values.

Series.set_at_idx(idx, value)

Set values at the index locations.

Series.shift([periods])

Shift the values by a given period.

Series.shift_and_fill(periods, fill_value)

Shift the values by a given period and fill the resulting null values.

Series.shrink_dtype()

Shrink numeric columns to the minimal required datatype.

Series.shrink_to_fit([in_place])

Shrink Series memory usage.

Series.shuffle([seed])

Shuffle the contents of this Series.

Series.slice(offset[, length])

Get a slice of this Series.

Series.sort([reverse, in_place])

Sort this Series.

Series.tail([n])

Get the last n rows.

Series.take(indices)

Take values by index.

Series.take_every(n)

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

Series.to_dummies()

Get dummy variables.

Series.top_k([k, reverse])

Return the k largest elements.

Series.unique([maintain_order])

Get unique elements in series.

Series.view([ignore_nulls])

Get a view into this Series data with a numpy array.

Series.zip_with(mask, other)

Take values from self or other based on the given mask.