This commit is contained in:
guanjihuan 2023-12-29 05:39:34 +08:00
parent 7096e8daca
commit 1df5155cdc
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ The newest version of this code is on the web page: https://www.guanjihuan.com/a
import numpy as np
import matplotlib.pyplot as plt
from math import * # 引入sqrt(), pi, exp
from math import * # 引入sqrt(), exp(), pi
import cmath # 要处理复数情况用到cmath.exp()

View File

@ -13,4 +13,4 @@ for i0 in range(30):
stock_symbol = stock_data[list_index[i0], 1]
stock_name = stock_data[list_index[i0], 2]
market_capitalization = stock_data[list_index[i0], 17]/1e8
print(i0+1, stock_symbol, stock_name, market_capitalization)
print([i0+1, stock_symbol, stock_name, market_capitalization])