update
This commit is contained in:
parent
7096e8daca
commit
1df5155cdc
@ -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 numpy as np
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
from math import * # 引入sqrt(), pi, exp等
|
from math import * # 引入sqrt(), exp(), pi等
|
||||||
import cmath # 要处理复数情况,用到cmath.exp()
|
import cmath # 要处理复数情况,用到cmath.exp()
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,4 +13,4 @@ for i0 in range(30):
|
|||||||
stock_symbol = stock_data[list_index[i0], 1]
|
stock_symbol = stock_data[list_index[i0], 1]
|
||||||
stock_name = stock_data[list_index[i0], 2]
|
stock_name = stock_data[list_index[i0], 2]
|
||||||
market_capitalization = stock_data[list_index[i0], 17]/1e8
|
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])
|
Loading…
x
Reference in New Issue
Block a user