huseinzol05 / Stock-Prediction-Models

Gathers machine learning and deep learning models for Stock forecasting including trading bots and simulations
Apache License 2.0
7.95k stars 2.81k forks source link

which-stock.ipynb #119

Closed GirishKumarSharma closed 1 year ago

GirishKumarSharma commented 1 year ago

I just git clone and run the ipnyb and got stuck in the last input.

TypeError Traceback (most recent call last) Input In [10], in <cell line: 1>() ----> 1 g = sns.jointplot("volatility", "returns", data=combine, kind="reg",height=7) 3 for i in range(combine.shape[0]): 4 plt.annotate(ori_name[i].replace('.csv',''), (combine.iloc[i, 1], combine.iloc[i, 0])) ` TypeError: jointplot() got multiple values for argument 'data'`

nil-andreu commented 1 year ago

Heey! Try to define the parameters of the function: sns.jointplot(data=combine, x='volatility', y='returns', kind='reg', height=7).

GirishKumarSharma commented 1 year ago

Thanks! It worked. Now testing other files.

nil-andreu commented 1 year ago

Anything else let me know @GirishKumarSharma !