Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewjmack/python-challenge
https://github.com/andrewjmack/python-challenge
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewjmack/python-challenge
- Owner: andrewjmack
- Created: 2024-03-08T01:20:27.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-11T21:40:55.000Z (8 months ago)
- Last Synced: 2024-03-11T22:42:36.229Z (8 months ago)
- Language: Python
- Size: 1.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#python-challenge
##Andrew Mack | March 2024
#Summary
Repo holds the files for DU Bootcamp python challenges:
*PyBank:
"In this Challenge, you are tasked with creating a Python script to analyze the financial records of your company. You will be given a financial dataset called budget_data.csv. The dataset is composed of two columns: "Date" and "Profit/Losses"."
*PyPoll:
"In this Challenge, you are tasked with helping a small, rural town modernize its vote-counting process. You will be given a set of poll data called election_data.csv. The dataset is composed of three columns: "Voter ID", "County", and "Candidate"."
*See Background.md for specific challenge requirements.#Repo Contents
Background.md
README.md
PyBank folder
/main.py
/analysis/PyBankAnalysis.txt
/Resources/budget_data.csv
PyPoll folder
/main.py
/analysis/PyPollAnalysis.txt
/Resources/election_data.csv#Additional Note
Beware that script to create and write results to a text file will overwrite any existing file with the same name in the same location!
#Resources
*Challenge instructions, hints and considerations, and source data provided by: edX Boot Camps and University of Denver
*Learnings from class content and activities
*Bootcamp tutor (Justin) helped with: debug print statement organization, finding index positions and scripting average PL changes in PyBank challenge
*Webpage for help scripting PyBank monthly change loop (URL):
https://stackoverflow.com/questions/56123027/how-to-subtract-an-element-from-previous-one-in-python
*Webpage for help creating text file with results (URL):
https://www.freecodecamp.org/news/file-handling-in-python/
*Webpage to aid in scripting conditional list to capture unique candidates in PyPoll challenge using "not in":
https://www.digitalocean.com/community/tutorials/get-unique-values-from-a-list-in-python
*Webpage for key= *.get to return largest key for PyPoll winner:
https://www.javatpoint.com/find-key-with-maximum-value-in-dictionary#:~:text=Using%20max()%20Function&text=The%20max()%20method%20is,highest%20value%20using%20the%20function.