Also , I would advice you to accept answers (for all your questions) (by clicking the tick mark on the left side of the answer) , would really help the community.
In ParseCSV class constructor you set self.data by data parameter, this means that you can access data by self in other methods of the class, change line 6 to below form: