Sha256: c0889954eb1ce86c94b4f62cbb96e7e45b61449ac5be61641322603baec2463d

Contents?: true

Size: 406 Bytes

Versions: 47

Compression:

Stored size: 406 Bytes

Contents

module Polars
  module Functions
    # Set the global random seed for Polars.
    #
    # This random seed is used to determine things such as shuffle ordering.
    #
    # @param seed [Integer]
    #   A non-negative integer < 2**64 used to seed the internal global
    #   random number generator.
    #
    # @return [nil]
    def set_random_seed(seed)
      Plr.set_random_seed(seed)
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
polars-df-0.15.0-x86_64-linux lib/polars/functions/random.rb
polars-df-0.15.0-x86_64-linux-musl lib/polars/functions/random.rb
polars-df-0.15.0-x86_64-darwin lib/polars/functions/random.rb
polars-df-0.15.0-x64-mingw-ucrt lib/polars/functions/random.rb
polars-df-0.15.0-arm64-darwin lib/polars/functions/random.rb
polars-df-0.15.0-aarch64-linux lib/polars/functions/random.rb
polars-df-0.15.0-aarch64-linux-musl lib/polars/functions/random.rb
polars-df-0.15.0 lib/polars/functions/random.rb
polars-df-0.14.0-x86_64-linux lib/polars/functions/random.rb
polars-df-0.14.0-x86_64-linux-musl lib/polars/functions/random.rb
polars-df-0.14.0-x86_64-darwin lib/polars/functions/random.rb
polars-df-0.14.0-x64-mingw-ucrt lib/polars/functions/random.rb
polars-df-0.14.0-arm64-darwin lib/polars/functions/random.rb
polars-df-0.14.0-aarch64-linux lib/polars/functions/random.rb
polars-df-0.14.0-aarch64-linux-musl lib/polars/functions/random.rb
polars-df-0.14.0 lib/polars/functions/random.rb
polars-df-0.13.0-x86_64-linux lib/polars/functions/random.rb
polars-df-0.13.0-x86_64-linux-musl lib/polars/functions/random.rb
polars-df-0.13.0-x86_64-darwin lib/polars/functions/random.rb
polars-df-0.13.0-x64-mingw-ucrt lib/polars/functions/random.rb