-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.py
More file actions
44 lines (33 loc) · 879 Bytes
/
test.py
File metadata and controls
44 lines (33 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import numpy as np
from utils import *
from uuid import uuid1
import csv
print('test')
# filename = f'adjMatrixCSV/{currDate}-{uniqueFilename}.csv'
# with open(filename, mode='w+', newline='') as file:
# writer = csv.writer(file)
# writer.writerow(['a' for i in range(1, 10)])
# for row in range(5):
# aas = [i for i in range(1, 10)]
# writer.writerow(aas)
# i = np.array([[1,2,3,3,4,5,6,6]])
# two = np.array([[0,0,0,1,1,0,0,0,0,3,4,5,2,34]])
# print(two.shape[1])
# print(i.shape[1])
# y = two.shape[1] - i.shape[1]
# new = np.zeros((y, 1))
# i = i.T
# two = two.T
# print(i)
# print(two)
# print(new)
# i = np.vstack((i, new))
# i = np.hstack((i, two))
# print(i)
# print(i.shape)
# asd = np.empty((0,0))
# asd = np.append(asd, [[1]])
# asd = np.append(asd, [[1]])
# asd = np.append(asd, [[1]])
# asd = np.append(asd, [[1]])
# print(asd)