I'm looking for the max and min value of the variable "Inc", then I need to find the corresponding values of the max and min for "psavings", "savings", and "Con".
import csv
import numpy
psavings = []
savings = []
Con = []
Inc = []
Csv_file = open('/Users/charlesadams/Desktop/Lab.csv')
csv_reader = csv.reader(csv_file, delimiter=",")
next(csv_reader)
for row in csv_reader:
consumption, income = row
Con.append(float(consumption))
Inc.append(float(income))
savings.append(float(income)-float(consumption))
psavings.append((float(income)-float(consumption))/ float(income) * 100)