
def read_in():

    import numpy as np
    file=numpy.genfromtxt('ecg_data.csv', dtype=['fltvar', 'fltvar'],... names=['Time', 'Voltage'], delimiter="," )

read_in()


def read_in():

    import numpy as np
    file=numpy.genfromtxt('ecg_data.csv', dtype=['fltvar', 'fltvar'], ... names=['Time', 'Voltage'], delimiter="," )

read_in()

Update Read_input.py