Sorry if I haven't explained things very well. I'm a complete novice please feel free to critic
I've searched every where but I havent found anything close to subtracting a percent. when its done on its own(x-.10=y) it works wonderfully. the only problem is Im trying to make 'x' stand for sample_.csv or the numerical value from first column from my understanding.
import csv import numpy as np import pandas as pd readdata = csv.reader(open("sample_.csv")) x = input(sample_.csv) y = input(x * .10) print(x + y)
the column looks something like this "20,a," "25,b," "35,c," "45,d,"