Whether the Series contains null elements.
The number of elements in this Series.
The DeviceBuffer for for the validity bitmask in GPU memory.
The number of null elements in this Series.
A boolean indicating whether a validity bitmask exists.
The number of child columns in this Series.
The offset of elements in this Series underlying Column.
The data type of elements in the underlying data.
Copy the underlying device memory to host, and return an Iterator of the values.
Casts the values to a new dtype (similar to static_cast
in C++).
The new dtype.
The optional MemoryResource used to allocate the result Series's device memory.
Series of same size as the current Series containing result of the cast
operation.
Concat a Series to the end of the caller, returning a new Series of a common dtype.
The Series to concat to the end of the caller.
Return a copy of this Series.
Return the number of non-null elements in the Series.
The number of non-null elements
Returns a new Series with duplicate values from the original removed
Determines whether or not to keep the duplicate items.
Determines whether nulls are handled as equal values.
Determines whether null values are inserted before or after non-null values.
Memory resource used to allocate the result Column's device memory.
series without duplicate values
drop Null values from the series
Memory resource used to allocate the result Column's device memory.
series without Null values
Encode the Series values into integer labels.
The optional Series of values to encode into integers. Defaults to the unique elements in this Series.
The optional integer DataType to use for the returned Series. Defaults to Uint32.
The optional value used to indicate missing category. Defaults to -1.
The optional MemoryResource used to allocate the result Column's device memory.
A sequence of encoded integer labels with values between 0
and n-1
categories, and nullSentinel
for any null values
Fills a range of elements in a column out-of-place with a scalar value.
The scalar value to fill.
The starting index of the fill range (inclusive).
The index of the last element in the fill range (exclusive), default this.length .
The optional MemoryResource used to allocate the result Column's device memory.
Fills a range of elements in-place in a column with a scalar value.
The scalar value to fill
The starting index of the fill range (inclusive)
The index of the last element in the fill range (exclusive)
Return a sub-selection of this Series using the specified boolean mask.
A Series of boolean values for whose corresponding element in this Series will be selected or ignored.
An optional MemoryResource used to allocate the result's device memory.
A Series of 8/16/32-bit signed or unsigned integer indices to gather.
If true
, coerce rows that corresponds to out-of-bounds indices
in the selection to null. If false
, skips all bounds checking for selection values. Pass
false if you are certain that the selection contains only valid indices for better
performance. If false
and there are out-of-bounds indices in the selection, the behavior
is undefined. Defaults to false
.
An optional MemoryResource used to allocate the result's device memory.
Returns the first n rows.
The number of rows to return.
Creates a Series of BOOL8
elements where true
indicates the value is valid and
false
indicates the value is null.
Memory resource used to allocate the result Column's device memory.
A non-nullable Series of BOOL8
elements with false
representing null
values.
Creates a Series of BOOL8
elements where true
indicates the value is null and false
indicates the value is valid.
Memory resource used to allocate the result Column's device memory.
A non-nullable Series of BOOL8
elements with true
representing null
values.
Returns the n largest element(s).
The number of values to retrieve.
Determines whether to keep the first or last of any duplicate values.
Returns the n smallest element(s).
The number of values to retrieve.
Determines whether to keep the first or last of any duplicate values.
Generate an ordering that sorts the Series in a specified way.
whether to sort ascending (true) or descending (false)
whether nulls should sort before or after other values
An optional MemoryResource used to allocate the result's device memory.
Series containting the permutation indices for the desired sort order
Replace null values with a scalar value.
The scalar value to use in place of nulls.
The optional MemoryResource used to allocate the result Column's device memory.
Replace null values with the corresponding elements from another Series.
The Series to use in place of nulls.
The optional MemoryResource used to allocate the result Column's device memory.
Replace null values with the non-null value following the null value in the same series.
The optional MemoryResource used to allocate the result Column's device memory.
Replace null values with the non-null value preceding the null value in the same series.
The optional MemoryResource used to allocate the result Column's device memory.
Returns a new series with reversed elements.
An optional MemoryResource used to allocate the result's device memory.
Scatters single value into this Series according to provided indices.
A column of values to be scattered in to this Series
A column of integral indices that indicate the rows in the this Series to be
replaced by value
.
An optional MemoryResource used to allocate the result's device memory.
Scatters a column of values into this Series according to provided indices.
A column of integral indices that indicate the rows in the this Series to be
replaced by value
.
An optional MemoryResource used to allocate the result's device memory.
The null-mask. Valid values are marked as 1; otherwise 0. The mask bit given the data index idx is computed as:
(mask[idx // 8] >> (idx % 8)) & 1
The number of null values. If None, it is calculated automatically.
set values at the specified indices
the indices in this Series to set values for
the values to set at Series of indices
Generate a new Series that is sorted in a specified way.
whether to sort ascending (true) or descending (false) Default: true
whether nulls should sort before or after other values Default: before
An optional MemoryResource used to allocate the result's device memory.
Sorted values
Returns the last n rows.
The number of rows to return.
Copy the underlying device memory to host and return an Array (or TypedArray) of the values.
Copy a Series to an Arrow vector in host memory
Return a string with a tabular representation of the Series, pretty-printed according to the options given.
Returns a new Series with only the unique values that were found in the original
Determines whether nulls are handled as equal values.
Memory resource used to allocate the result Column's device memory.
series without duplicate values
Returns an object with keys "value" and "count" whose respective values are new Series containing the unique values in the original series and the number of times they occur in the original series.
object with keys "value" and "count"
Create a new cudf.Series from an apache arrow vector
Create a new cudf.Series from SeriesProps or a cudf.Column
Create a new cudf.Int8Series
Create a new cudf.Int16Series
Create a new cudf.Int32Series
Create a new cudf.Uint8Series
Create a new cudf.Uint16Series
Create a new cudf.Uint32Series
Create a new cudf.Uint64Series
Create a new cudf.Float32Series
Create a new cudf.StringSeries
Create a new cudf.Float64Series
Create a new cudf.Int64Series
Create a new cudf.Bool8Series
Create a new cudf.TimestampMillisecondSeries
Create a new cudf.ListSeries that contain cudf.StringSeries elements.
Create a new cudf.ListSeries that contain cudf.Float64Series elements.
Create a new cudf.ListSeries that contain cudf.Int64Series elements.
Create a new cudf.ListSeries that contain cudf.Bool8Series elements.
Create a new cudf.ListSeries that contain cudf.TimestampMillisecondSeries elements.
Constructs a Series from a text file path.
Path of the input file.
Optional delimiter.
StringSeries from the file, split by delimiter.
Constructs a Series with a sequence of values.
Options for creating the sequence
Series with the sequence
One-dimensional GPU array