-
Notifications
You must be signed in to change notification settings - Fork 15
Commit 8289d51
authored
Chapter 10 production polish (#142)
* Remove top level imports and add warning supression
* Remove commented out sections
* Remove unnecessary assignment, set the seed properly, and use value_counts instead of manual computation
* Replace for loop with list comprehension
* Use value_counts instead of manual computation
* Fix typo
* Correct viz syntax
* Remove unnecessary assignment, and simplify computation
* Remove unnecessary second loop
* Simplify plotting syntax and clarify variable name
* Simplify comparison plot of sample sizes
* Use bullets to make points clearer
* Remove display option
* Remove incorrect query for means
* Reduce height to make histograms easier to read
* Change from sklearns `resample` and for loops to keep using `.sample` and list comprehensions
* Simplify visualization code
* Fix minor formatting and wording issue
* Clarify language around sampling
* Switch to orange annotations for better contrast
* Improve plotting syntax and remove re-specification of seed
* Change to actual number of samples
* Round to one decimal to reduce noise
* Round histogram limits more nicely
* Reformat and improve the explanation of the bootstrapped mean calculation
* Add description about quantiles
* Link to python version of worksheets
* Explain the name param in reset index
* Fix typo
* Clarify concatenation
* Move rename last so we can use the same rename syntax students are used to1 parent 9255d54 commit 8289d51Copy full SHA for 8289d51
1 file changed
+299
-556
lines changed
0 commit comments