traits#

cudf._lib.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().

cudf._lib.pylibcudf.traits.is_boolean(DataType typ) bool#

Checks if the given data type is a boolean type.

For details, see is_boolean().

cudf._lib.pylibcudf.traits.is_chrono(DataType typ) bool#

Checks if the given data type is a chrono type.

For details, see is_chrono().

cudf._lib.pylibcudf.traits.is_compound(DataType typ) bool#

Checks if the given data type is a compound type.

For details, see is_compound().

cudf._lib.pylibcudf.traits.is_dictionary(DataType typ) bool#

Checks if the given data type is a dictionary type.

For details, see is_dictionary().

cudf._lib.pylibcudf.traits.is_duration(DataType typ) bool#

Checks if the given data type is a duration type.

For details, see is_duration().

cudf._lib.pylibcudf.traits.is_equality_comparable(DataType typ) bool#

Checks if the given data type supports equality comparisons.

For details, see is_equality_comparable().

cudf._lib.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().

cudf._lib.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().

cudf._lib.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().

cudf._lib.pylibcudf.traits.is_index_type(DataType typ) bool#

Checks if the given data type is an index type.

For details, see is_index_type().

cudf._lib.pylibcudf.traits.is_integral(DataType typ) bool#

Checks if the given data type is an integral type.

For details, see is_integral().

cudf._lib.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().

cudf._lib.pylibcudf.traits.is_nested(DataType typ) bool#

Checks if the given data type is a nested type.

For details, see is_nested().

cudf._lib.pylibcudf.traits.is_numeric(DataType typ) bool#

Checks if the given data type is numeric.

For details, see is_numeric().

cudf._lib.pylibcudf.traits.is_relationally_comparable(DataType typ) bool#

Checks if the given data type supports relational comparisons.

For details, see is_relationally_comparable().

cudf._lib.pylibcudf.traits.is_timestamp(DataType typ) bool#

Checks if the given data type is a timestamp type.

For details, see is_timestamp().

cudf._lib.pylibcudf.traits.is_unsigned(DataType typ) bool#

Checks if the given data type is an unsigned type.

For details, see is_unsigned().