Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrewjmack/python-challenge


https://github.com/andrewjmack/python-challenge

Last synced: about 8 hours ago
JSON representation

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.