Create a script to analyze financial records, calculate following:
- total number of months included in the dataset
- net total amount of "Profit/Losses" over the entire period
- average of the changes in "Profit/Losses" over the entire period
- greatest increase in profits (date and amount) over the entire period
- greatest decrease in losses (date and amount) over the entire period
Create a script to analyze election results, calculate following:
- total number of votes cast
- count of candidates votes
- percentage of candidate votes
- total number of votes won for each candidate
- overall winner of the election