def parse_csv(self, data):
        if data == None or data == "":
            return


        if isinstance(data, str):
            str_data = data.split('\n')
        else:
            str_data = data.decode(encoding="utf-8").split('\n')


        for f in str_data:
            if ";" in str(f):
                s = f.split(";")[0]
                ns = f.split(";")[1]
                if  ns is not None and ns != "":
                    ns = int(re.sub(r"\D","", ns))
                    s = int(re.sub(r"\D","", s))
                    self.data.append(s*1e9 + ns)
dataset/ETHPy150Open dmayer/time_trial/time_trial_gui/lib/timing_data.py/TimingData.parse_csv/original