ivix
ivix copied to clipboard
中国波指的计算
use: pip install pyecharts==0.1.9.5 `from pyecharts.charts import Line` ".ix" such as `callAll['deltaK'].ix[index[0]] = index[1]-index[0]` is no longer available, swap to: `callAll.loc[]` `putAll.loc[]`
python3.7.4 64bit scipy1.4.1 win10 64bit File "D:/jgy/PythonApp/ivix/iVIX.py", line 57, in periodsSplineRiskFreeInterestRate sh = interpolate.spline(period, shibor_values, tmp, order=3) AttributeError: module 'scipy.interpolate' has no attribute 'spline'
call = callAll[callAll.index > FF] put = putAll[putAll.index < FF] 谁帮忙讲讲这两句是干啥的?callAll.index顶多算一个列表,FF是个很长很长的列表,比index长多了。 目测是想从dataFrame里面筛选一些符合条件的项,是这样吗?