Tab numpy finished
This commit is contained in:
parent
db8baf2d97
commit
aafd732599
|
@ -11,11 +11,16 @@ import csv
|
|||
|
||||
with open('../RawDataFiles/RawData1.csv', 'r') as f:
|
||||
data = csv.reader(f, quoting = csv.QUOTE_MINIMAL)
|
||||
for lign in data:
|
||||
print(lign)
|
||||
print("\n")
|
||||
data2 = [data2 for data2 in data]
|
||||
data_array = np.asarray(data2)
|
||||
print(data_array[:,5])
|
||||
|
||||
# for lign in data:
|
||||
# print(lign)
|
||||
# print("\n")
|
||||
|
||||
# dataset = np.loadtxt('../RawDataFiles/RawData1.csv', delimiter='\t', dtype='str')
|
||||
# print(dataset)
|
||||
|
||||
plt.xlabel('Temps')
|
||||
plt.ylabel('Tension')
|
||||
|
|
Loading…
Reference in a new issue