uarray issues
Posted: Fri Apr 24, 2020 5:27 pm
Hello, I have an issue with uarray on pyboard. Here is some code which I try to implement:
import uarray as array
data_array = array.array('f',[])
for i in range (counter, counter+N_SAMPLE):
data_array=data_array.append(float(f.readline()))
I have an issue in the last line and the error in REPL is that data_array does not have the attribute append
In the documentation, I see that attribute exists but I am not sure why do I get the error. I tried reading from file separately and that is a correct value. Can anyone give me some help or suggest another alternative I may use?
import uarray as array
data_array = array.array('f',[])
for i in range (counter, counter+N_SAMPLE):
data_array=data_array.append(float(f.readline()))
I have an issue in the last line and the error in REPL is that data_array does not have the attribute append
In the documentation, I see that attribute exists but I am not sure why do I get the error. I tried reading from file separately and that is a correct value. Can anyone give me some help or suggest another alternative I may use?