I have one column in a DataFrame which I need to select 3 random values in Pyspark. Could anyone help-me, please?
+---+
| id|
+---+
|123|
|245|
| 12|
|234|
+---+
Desire:
Array with 3 random values get from that column:
**output**: [123, 12, 234]