Skip to content

A repository demonstrating the use of the Python programming language for analytical purposes

Notifications You must be signed in to change notification settings

presitkaur/python-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

python-challenge

PyBank

In this challenge, you are tasked with creating a Python script for analyzing the financial records of your company. You will give a set of financial data called budget_data.csv. The dataset is composed of two columns: Date and Profit/Losses.

Your task is to create a Python script that analyzes the records to calculate each of the following:

1. The total number of months included in the dataset

2. The net total amount of "Profit/Losses" over the entire period

3. The average of the changes in "Profit/Losses" over the entire period

4. The greatest increase in profits (date and amount) over the entire period

5. The greatest decrease in losses (date and amount) over the entire period

In addition, your final script should both print the analysis to the terminal and export a text file with the results.

PyPoll

In this challenge, you are tasked with helping a small, rural town modernize its vote counting process.

Using the provided csv in the resources folder, your task is to create a Python script that analyzes the votes and calculates each of the following:

1. The total number of votes cast

2. A complete list of candidates who received votes

3. The percentage of votes each candidate won

4. The total number of votes each candidate won

5. The winner of the election based on popular vote.

In addition, your final script should both print the analysis to the terminal and export a text file with the results.

About

A repository demonstrating the use of the Python programming language for analytical purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages