Skip to content

This technical report presents the results of a Python project aimed at performing a financial and an election analysis. The project involved processing two CSV files, named "budget_data.csv" and "election_data.csv", which contained data related to a company's financial performance and the results of an election, respectively.

License

Notifications You must be signed in to change notification settings

FarrukhSultani/Python_Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python_Challenge

In this Python project, I was tasked to find out below analysis using my Python skills. Steps taken to complete this project are drawn down under each analysis.

Financial Analysis:

Alt text

To extract the above analysis, I followed below steps.

  • Read the CSV file named "budget_data.csv"
  • Calculated the total number of months included in the dataset
  • Found out the net total amount of "Profit/Losses" over the entire period
  • Found the average changes in "Profit/Losses" over the entire period
  • Found the greatest increase in profits (date and amount) over the entire period
  • Found the greatest decrease in losses (date and amount) over the entire period
  • Printed the analysis in a txt file

Election Result:

Alt text

To extract the above analysis, I followed below steps.

  • Read the CSV file named "election_data.csv"
  • Calculated the total number of votes cast
  • Calculated the total number of votes each candidate won
  • Calculated the percentage of votes each candidate won
  • Determined the winner of the election based on the popular vote
  • Printed the analysis in a txt file

Note: My information source were two datasets. The first dataset was a CSV file named as budget_data containing, date, profit and loss the x company made during 2023. The other CSV file was named election_data. In this dataset I had the ballot ids, country and candidate names.

About

This technical report presents the results of a Python project aimed at performing a financial and an election analysis. The project involved processing two CSV files, named "budget_data.csv" and "election_data.csv", which contained data related to a company's financial performance and the results of an election, respectively.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages