Docs.rs
  • polars-python-0.50.0
    • polars-python 0.50.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • ritchie46
    • stijnherfst
    • Dependencies
      • arboard ^3.4.0 normal optional
      • polars-arrow ^0.50.0 normal
      • bincode ^2.0 normal
      • bytemuck ^1.22 normal
      • bytes ^1.10 normal
      • chrono ^0.4.31 normal
      • chrono-tz ^0.10 normal
      • either ^1.14 normal
      • flate2 ^1 normal
      • hashbrown ^0.15.0 normal
      • itoa ^1.0.6 normal
      • libc ^0.2 normal
      • ndarray ^0.16 normal
      • num-traits ^0.2 normal
      • numpy ^0.25 normal
      • polars ^0.50.0 normal
      • polars-compute ^0.50.0 normal
      • polars-core ^0.50.0 normal
      • polars-dtype ^0.50.0 normal
      • polars-error ^0.50.0 normal
      • polars-expr ^0.50.0 normal
      • polars-ffi ^0.50.0 normal
      • polars-io ^0.50.0 normal
      • polars-lazy ^0.50.0 normal
      • polars-mem-engine ^0.50.0 normal
      • polars-ops ^0.50.0 normal
      • polars-parquet ^0.50.0 normal optional
      • polars-plan ^0.50.0 normal
      • polars-row ^0.50.0 normal
      • polars-testing ^0.50.0 normal
      • polars-time ^0.50.0 normal
      • polars-utils ^0.50.0 normal
      • pyo3 ^0.25 normal
      • rayon ^1.9 normal
      • recursive ^0.1 normal
      • serde_json ^1 normal optional
      • version_check ^0.9.4 build
    • Versions
    • 11.9% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

polars_python0.50.0

VecHash

Required Methods

  • vec_hash
  • vec_hash_combine

Implementors

In polars_python::prelude

polars_python::prelude

Trait VecHash

Source
pub trait VecHash {
    // Required methods
    fn vec_hash(
        &self,
        _random_state: SeedableRandomState,
        _buf: &mut Vec<u64>,
    ) -> Result<(), PolarsError>;
    fn vec_hash_combine(
        &self,
        _random_state: SeedableRandomState,
        _hashes: &mut [u64],
    ) -> Result<(), PolarsError>;
}

Required Methods§

Source

fn vec_hash( &self, _random_state: SeedableRandomState, _buf: &mut Vec<u64>, ) -> Result<(), PolarsError>

Compute the hash for all values in the array.

Source

fn vec_hash_combine( &self, _random_state: SeedableRandomState, _hashes: &mut [u64], ) -> Result<(), PolarsError>

Implementors§

Source§

impl VecHash for ChunkedArray<BinaryOffsetType>

Source§

impl VecHash for ChunkedArray<BinaryType>

Source§

impl VecHash for ChunkedArray<BooleanType>

Source§

impl VecHash for ChunkedArray<Float32Type>

Source§

impl VecHash for ChunkedArray<Float64Type>

Source§

impl VecHash for ChunkedArray<Int8Type>

Source§

impl VecHash for ChunkedArray<Int16Type>

Source§

impl VecHash for ChunkedArray<Int32Type>

Source§

impl VecHash for ChunkedArray<Int64Type>

Source§

impl VecHash for ChunkedArray<Int128Type>

Source§

impl VecHash for ChunkedArray<StringType>

Source§

impl VecHash for ChunkedArray<UInt8Type>

Source§

impl VecHash for ChunkedArray<UInt16Type>

Source§

impl VecHash for ChunkedArray<UInt32Type>

Source§

impl VecHash for ChunkedArray<UInt64Type>

Source§

impl VecHash for NullChunked

Source§

impl<T> VecHash for ChunkedArray<ObjectType<T>>
where T: PolarsObject,