hashing#

pylibcudf.hashing.md5(Table input) Column#

Computes the MD5 hash value of each row in the given table.

For details, see md5().

Parameters:
inputTable

The table of columns to hash

Returns:
pylibcudf.Column

A column where each row is the md5 hash of a row from the input

pylibcudf.hashing.murmurhash3_x64_128(Table input, uint64_t seed=DEFAULT_HASH_SEED) Table#

Computes the MurmurHash3 64-bit hash value of each row in the given table.

For details, see murmurhash3_x64_128().

Parameters:
inputTable

The table of columns to hash

seeduint64_t

Optional seed value to use for the hash function

Returns:
pylibcudf.Table

A table of two UINT64 columns

pylibcudf.hashing.murmurhash3_x86_32(Table input, uint32_t seed=DEFAULT_HASH_SEED) Column#

Computes the MurmurHash3 32-bit hash value of each row in the given table.

For details, see murmurhash3_x86_32().

Parameters:
inputTable

The table of columns to hash

seeduint32_t

Optional seed value to use for the hash function

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input

pylibcudf.hashing.sha1(Table input) Column#

Computes the SHA-1 hash value of each row in the given table.

For details, see sha1().

Parameters:
inputTable

The table of columns to hash

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input

pylibcudf.hashing.sha224(Table input) Column#

Computes the SHA-224 hash value of each row in the given table.

For details, see sha224().

Parameters:
inputTable

The table of columns to hash

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input

pylibcudf.hashing.sha256(Table input) Column#

Computes the SHA-256 hash value of each row in the given table.

For details, see sha256().

Parameters:
inputTable

The table of columns to hash

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input

pylibcudf.hashing.sha384(Table input) Column#

Computes the SHA-384 hash value of each row in the given table.

For details, see sha384().

Parameters:
inputTable

The table of columns to hash

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input

pylibcudf.hashing.sha512(Table input) Column#

Computes the SHA-512 hash value of each row in the given table.

For details, see sha512().

Parameters:
inputTable

The table of columns to hash

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input

pylibcudf.hashing.xxhash_64(Table input, uint64_t seed=DEFAULT_HASH_SEED) Column#

Computes the xxHash 64-bit hash value of each row in the given table.

For details, see xxhash_64().

Parameters:
inputTable

The table of columns to hash

seeduint64_t

Optional seed value to use for the hash function

Returns:
pylibcudf.Column

A column where each row is the hash of a row from the input