Scalar#

class cudf._lib.pylibcudf.scalar.Scalar(*args, **kwargs)#

A scalar value in device memory.

This is the Cython representation of cudf::scalar.

Methods

is_valid(self)

True if the scalar is valid, false if not

type(self)

The type of data in the column.

is_valid(self) bool#

True if the scalar is valid, false if not

type(self) DataType#

The type of data in the column.