Concept Flow - Sample() for random rows
Start with DataFrame
Call sample(n=3)
Randomly select 3 rows
Return new DataFrame with selected rows
Use or display sampled rows
The sample() function picks random rows from a DataFrame and returns them as a new smaller DataFrame.