Sample a fixed number of rows
Sample 10 random rows from `pets`, using 123 as the seed. Use `.sample(n, seed)`. (This sandbox uses its own seeded random generator, not real Polars' — but the same seed always gives the same result here.)
Sample 10 random rows from `pets`, using 123 as the seed. Use `.sample(n, seed)`. (This sandbox uses its own seeded random generator, not real Polars' — but the same seed always gives the same result here.)