geoman1217 / intro-data-capstone-biodiversity

0 stars 0 forks source link

Consider adding the sample size in a comment #2

Open karl-project-review opened 6 years ago

karl-project-review commented 6 years ago

https://github.com/geoman1217/intro-data-capstone-biodiversity/blob/9d353a78fb389ac52a43521b136882af36ff0ba7/Biodiversity%20Capstone/biodiversity.py#L388 In order to ensure that your worksheet is easy to follow, consider adding in a comment noting that you calculated the sample size and listing its value. This way, it will be clear where the 520 number that you use in your later calculations is coming from. Making notes like this and avoiding having numbers in your code whose significance isn't immediately obvious will save you and/or your coworkers time when reading back through a project.

geoman1217 commented 6 years ago

I'm bad about not commenting in my code, and is a habit I really need to form.