<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bootstrap(array):
 """ Provides a bootstrap resampling of an array. Provides another statistical method to estimate the variance of a dataset. For a `PCA` object in this library, it should be applied to `Orientation.array` method. """

    reg_func = lambda a: N.linalg.svd(a,full_matrices=False)[2][2]
    beta_boots = bootstrap(array, func=reg_func)
    return yhat, yhat_boots