Open sen1 opened 6 years ago
https://github.com/bforsyth744/intro-data-capstone-biodiversity/blob/9fc2b0c2dd140344a070aec6905743b795d0e931/Capstone_Option_2/biodiversity.py.html#L124
We didn't follow code styling in this course. However, it is very important. I would add some line breaks to make it look nicer:
protection_counts = species.groupby('conservation_status')\ .scientific_name.nunique().reset_index()\ .sort_values(by='scientific_name')
Read about the PEP8 style guide for the maximum length of a code line: https://www.python.org/dev/peps/pep-0008/#maximum-line-length
I had never worked with a jupyter notebook before. I was too busy playing around with it to realize I could use a back slash for continuation. I'll know for next time. Thanks.
https://github.com/bforsyth744/intro-data-capstone-biodiversity/blob/9fc2b0c2dd140344a070aec6905743b795d0e931/Capstone_Option_2/biodiversity.py.html#L124
We didn't follow code styling in this course. However, it is very important. I would add some line breaks to make it look nicer:
Read about the PEP8 style guide for the maximum length of a code line: https://www.python.org/dev/peps/pep-0008/#maximum-line-length