https://github.com/tilakapash/code_review
A DataCamp Project implementing a Python Code Review
https://github.com/tilakapash/code_review
Last synced: 9 months ago
JSON representation
A DataCamp Project implementing a Python Code Review
- Host: GitHub
- URL: https://github.com/tilakapash/code_review
- Owner: tilakapash
- Created: 2025-02-12T10:28:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-12T10:33:36.000Z (11 months ago)
- Last Synced: 2025-02-12T11:39:03.976Z (11 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# code_review
## A DataCamp Project implementing a Python Code Review
### Project Instructions
* Review the definition of the prepare_smartphone_data() function to ensure the code is well-documented and is easily "readable". Update the existing code to remedy any issues with documentation or readability.
* Review and update the prepare_smartphone_data() function to ensure that it adheres to PEP-8 principles.
* Review code in the visualize_versus_price() function for adherence to DRY principles. Use the column_to_label() function to remove any logic that was previously duplicated.
* Review the unit test written below to ensure the test matches logic in the prepare_smartphone_data() function, and make changes as needed. Run the cell to validate the test passes when executed.