reejungkim / Streamlit-portfolio-weight

visualization using Streamlit _ deployed to Heroku
1 stars 0 forks source link

TypeError: m > k must hold #5

Open reejungkim opened 2 years ago

reejungkim commented 2 years ago

TypeError: m > k must hold Traceback: File "/opt/anaconda3/envs/myenv/lib/python3.7/site-packages/streamlit/script_runner.py", line 337, in _run_script exec(code, module.dict) File "/Users/reejungkim/Documents/Git/Heroku_deployment/Streamlit/app.py", line 211, in tck = sci.splrep(evols, erets) File "/opt/anaconda3/envs/myenv/lib/python3.7/site-packages/scipy/interpolate/fitpack.py", line 291, in splrep res = _impl.splrep(x, y, w, xb, xe, k, task, s, t, full_output, per, quiet) File "/opt/anaconda3/envs/myenv/lib/python3.7/site-packages/scipy/interpolate/_fitpack_impl.py", line 461, in splrep raise TypeError('m > k must hold')