# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import csv
import os
import pandas as pd

# +
budget = pd.read_csv(r'C:\Users\<NAME>\Python-Challenge\PyBank\Resources\budget_data.csv')

budget
# -

budget['Date'].count()

budget['Profit/Losses'].sum()

budget['MoM'] = budget['Profit/Losses'].diff()
budget

(budget['Profit/Losses'].diff().sum()) / budget['Profit/Losses'].count()

budget['MoM'].max()

budget['MoM'].min()



StarcoderdataJupyterScriptsDedupFiltered