Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PyBank Instructions In this Challenge, you are tasked with creating a Python script to analyze the financial records of your company. You will be
PyBank Instructions In this Challenge, you are tasked with creating a Python script to analyze the financial records of your company. You will be given a financial dataset 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 values: The total number of months included in the dataset The net total amount of "Profit/Losses" over the entire period The changes in "Profit/Losses" over the entire period, and then the average of those changes The greatest increase in profits (date and amount) over the entire period The greatest decrease in profits (date and amount) over the entire period Your analysis should align with the following results: Financial Analysis Total Months: 86 Total: $22564198 Average Change: $-8311.11 Greatest Increase in Profits: Aug-16 ($1862002) Greatest Decrease in Profits: Feb-14 ($-1825558) In addition, your final script should both print the analysis to the terminal and export a text file with the results.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started