Utilize Python scripting skills to analyze financial and election data. Develop scripts to calculate metrics like total months, net profit, average change, and winners.
For PyBank, a Python script analyzes financial records from a CSV dataset. It calculates metrics such as total months, net total profit, average change, and identifies the greatest profit increase and decrease.
For PyPoll, another script analyzes election data from a CSV file. It computes the total number of votes, candidate percentages, and declares the election winner based on popular votes.
- Python
- CSV module