Skip to main content

rand

Function rand 

Source
pub fn rand(seed: Option<u64>) -> Column
Expand description

Random uniform [0, 1) per row, with optional seed (PySpark rand). When added via with_column, generates one distinct value per row (PySpark-like).