项目作者: mserobabina

项目描述 :
Python scripts to analyze financial records and voting records.
高级语言: Python
项目地址: git://github.com/mserobabina/Python-Challenges.git
创建时间: 2019-12-22T21:42:00Z
项目社区:https://github.com/mserobabina/Python-Challenges

开源协议:

下载


Python-Challenges

PyBank

Creating Python script for analyzing the financial records of the company. The finacial data set is provided for this project. Click here

The dataset is composed of two columns: Date and Profit/Losses.
The Python script analyzes the financial records calculates each of the following:

  • The total number of months included in the dataset
  • The total net amount of “Profit/Losses” over the entire period
  • The average change in “Profit/Losses” between months over the entire period
  • The greatest increase in profits (date and amount) over the entire period
  • The greatest decrease in losses (date and amount) over the entire period

Test image

PyPoll

Creating a Python Script for analysis small, rural town vote-counting process. Data set of poll data you can find here

The dataset is composed of three columns: Voter, ID, County, and Candidate.
The Python script analyzes the votes and calculates each of the following:

  • The total number of votes cast
  • A complete list of candidates who received votes
  • The percentage of votes each candidate won
  • The total number of votes each candidate won
  • The winner of the election based on popular vote

Test image