pub fn apply_array_repeat(
column: Column,
n: i64,
) -> PolarsResult<Option<Column>>Expand description
Repeat each element n times (PySpark array_repeat). Supports both: (1) scalar column (string, int, etc.) - create array of n copies; (2) List column - repeat each element within the list.