You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import quantstats as qs
# extend pandas functionality with metrics, etc.
qs.extend_pandas()
# fetch the daily returns for a stock
stock = qs.utils.download_returns('META')
# show sharpe ratio
qs.stats.sharpe(stock)
# or using extend_pandas() :)
stock.sharpe()
qs.plots.snapshot(stock, title='Facebook Performance', show=True)
qs.reports.basic(stock, "SPY")
whatever the version of quantstats 0.0.64, 0.0.62, 0.0.59, I can`t use qs.reports function
numpy 1.23.0
pandas 1.5.0
scipy 1.11.1
The text was updated successfully, but these errors were encountered:
v0.0.64 is not compatible with pandas 2.1 and lower, anymore. Make sure to install pandas to the 2.2 and numpy to 1.26.4 and it should work with the basic metrics.
v0.0.64 is not compatible with pandas 2.1 and lower, anymore. Make sure to install pandas to the 2.2 and numpy to 1.26.4 and it should work with the basic metrics.
the version of quantstats is 0.0.64.
but when i upgrade numpy to 1.26 and pandas to 2.23, the new problem happened.
OptionError: "No such keys(s): 'mode.use_inf_as_null'"
v0.0.64 is not compatible with pandas 2.1 and lower, anymore. Make sure to install pandas to the 2.2 and numpy to 1.26.4 and it should work with the basic metrics.
the version of quantstats is 0.0.64. but when i upgrade numpy to 1.26 and pandas to 2.23, the new problem happened. OptionError: "No such keys(s): 'mode.use_inf_as_null'"
Currently pandas 2.23 is a dev version and is not a stable version of pandas. I had the same error with the ValueError and installed pandas 2.2, which is the latest stable version. After that it should partially work.
whatever the version of quantstats 0.0.64, 0.0.62, 0.0.59, I can`t use qs.reports function
numpy 1.23.0
pandas 1.5.0
scipy 1.11.1
The text was updated successfully, but these errors were encountered: