traits#

pylibcudf.traits.is_bit_castable(DataType source, DataType target) bool#

Checks if the source type is bit-castable to the target type.

For details, see is_bit_castable().

pylibcudf.traits.is_boolean(DataType typ) bool#

Checks if the given data type is a boolean type.

For details, see is_boolean().

pylibcudf.traits.is_chrono(DataType typ) bool#

Checks if the given data type is a chrono type.

For details, see is_chrono().

pylibcudf.traits.is_compound(DataType typ) bool#

Checks if the given data type is a compound type.

For details, see is_compound().

pylibcudf.traits.is_dictionary(DataType typ) bool#

Checks if the given data type is a dictionary type.

For details, see is_dictionary().

pylibcudf.traits.is_duration(DataType typ) bool#

Checks if the given data type is a duration type.

For details, see is_duration().

pylibcudf.traits.is_equality_comparable(DataType typ) bool#

Checks if the given data type supports equality comparisons.

For details, see is_equality_comparable().

pylibcudf.traits.is_fixed_point(DataType typ) bool#

Checks if the given data type is a fixed point type.

For details, see is_fixed_point().

pylibcudf.traits.is_fixed_width(DataType typ) bool#

Checks if the given data type is a fixed width type.

For details, see is_fixed_width().

pylibcudf.traits.is_floating_point(DataType typ) bool#

Checks if the given data type is a floating point type.

For details, see is_floating_point().

pylibcudf.traits.is_index_type(DataType typ) bool#

Checks if the given data type is an index type.

For details, see is_index_type().

pylibcudf.traits.is_integral(DataType typ) bool#

Checks if the given data type is an integral type.

For details, see is_integral().

pylibcudf.traits.is_integral_not_bool(DataType typ) bool#

Checks if the given data type is an integral type excluding booleans.

For details, see is_integral_not_bool().

pylibcudf.traits.is_nested(DataType typ) bool#

Checks if the given data type is a nested type.

For details, see is_nested().

pylibcudf.traits.is_numeric(DataType typ) bool#

Checks if the given data type is numeric.

For details, see is_numeric().

pylibcudf.traits.is_relationally_comparable(DataType typ) bool#

Checks if the given data type supports relational comparisons.

For details, see is_relationally_comparable().

pylibcudf.traits.is_timestamp(DataType typ) bool#

Checks if the given data type is a timestamp type.

For details, see is_timestamp().

pylibcudf.traits.is_unsigned(DataType typ) bool#

Checks if the given data type is an unsigned type.

For details, see is_unsigned().