diff --git a/docs/tutorials/working_with_the_ensemble.ipynb b/docs/tutorials/working_with_the_ensemble.ipynb index 98ddff3a..d5387e89 100644 --- a/docs/tutorials/working_with_the_ensemble.ipynb +++ b/docs/tutorials/working_with_the_ensemble.ipynb @@ -442,7 +442,8 @@ "source": [ "### Sampling\n", "\n", - "In addition to filtering by specific constraints, it's possible to select a subset of your data to work with. `Ensemble.sample` will randomly select a fraction of objects from the full object list. By default this will return a new ensemble." + "In addition to filtering by specific constraints, it's possible to select a subset of your data to work with. `Ensemble.sample` will randomly select a fraction of objects from the full object list. This will return a new\n", + "ensemble object to work with." ] }, { @@ -451,7 +452,7 @@ "metadata": {}, "outputs": [], "source": [ - "subset_ens = ens.sample_objects(frac=0.5, overwrite=False) # select ~half of the objects, don't overwrite ens\n", + "subset_ens = ens.sample_objects(frac=0.5) # select ~half of the objects\n", "\n", "print(\"Number of pre-sampled objects: \", len(ens.object))\n", "print(\"Number of post-sampled objects: \", len(subset_ens.object))"