You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m wondering if Polars for Python can offer an equivalent to the rep_sample_n function from the moderndive package in R. In moderndive, rep_sample_n allows you to take repeated random samples of a specified size from a data frame, which is very useful for bootstrapping and resampling tasks.
Description
I’m wondering if Polars for Python can offer an equivalent to the
rep_sample_n
function from the moderndive package in R. In moderndive,rep_sample_n
allows you to take repeated random samples of a specified size from a data frame, which is very useful for bootstrapping and resampling tasks.For example:
This would generate 100 samples, each containing 10 observations from
data
, sampled with replacement.Thanks for the amazing package!
The text was updated successfully, but these errors were encountered: