code: def mean_cl_boot(series, n_samples=1000, confidence_interval=0.95,
                   random_state=None):
      
      return bootstrap_statistics(series, np.mean,
                                  n_samples=n_samples,
                                  confidence_interval=confidence_interval,
                                  random_state=random_state)
docs: Bootstrapped mean with confidence limits