I want to create a function create_bootstrap_sample
(using X_train
as input) that accepts Pandas DataFrame as a parameter and returns a bootstrap sample (also as a Pandas DataFrame).
def create_bootstrap_sample(df):
pass
I wanted help with completing the code.