Open asadmehdi785 opened 6 years ago
Here, you've included an import statement:
https://github.com/tekasian/intro-data-capstone-biodiversity/blob/297a56430354b6ef4894b9f0bcaa2b78767381c9/Biodiversity_Capstone_Project_Bryan_Leung/biodiversity.py#L20
Which is fine, but then later on you use the same import statement again:
https://github.com/tekasian/intro-data-capstone-biodiversity/blob/297a56430354b6ef4894b9f0bcaa2b78767381c9/Biodiversity_Capstone_Project_Bryan_Leung/biodiversity.py#L284
Since both of the import statements are in the same file, the second one is redundant and can be removed safely. While this doesn't have a significant impact on performance, it's better if we avoid these kinds of redundant statements in our code.
Missed that one!
Here, you've included an import statement:
https://github.com/tekasian/intro-data-capstone-biodiversity/blob/297a56430354b6ef4894b9f0bcaa2b78767381c9/Biodiversity_Capstone_Project_Bryan_Leung/biodiversity.py#L20
Which is fine, but then later on you use the same import statement again:
https://github.com/tekasian/intro-data-capstone-biodiversity/blob/297a56430354b6ef4894b9f0bcaa2b78767381c9/Biodiversity_Capstone_Project_Bryan_Leung/biodiversity.py#L284
Since both of the import statements are in the same file, the second one is redundant and can be removed safely. While this doesn't have a significant impact on performance, it's better if we avoid these kinds of redundant statements in our code.