Skip to content

Commit 3af4e53

Browse files
committed
1.调整公司数据格式;
2.在图中创建股票节点、上市公司节点,以及它们之间的关系。
1 parent 087f33d commit 3af4e53

File tree

4 files changed

+6832
-3409
lines changed

4 files changed

+6832
-3409
lines changed

Company_SupplyAndDemand/com_csv_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
for i in range(len(row)):
5353
data = data + row[i].replace(' ', ' ')
5454
row = data.split(';')
55-
l = row[0:6] + row[8:14] + [row[6]] + [row[7]]
55+
l = row[0:6] + row[8:14] + [row[7]] + [row[6]]
5656
csvwriter.writerow(l)
5757
for ls in l:
5858
if ';' in ls:

0 commit comments

Comments
 (0)