I'm using kaggle to test my strategies on the cloud.
Today an error occurs:
KeyError: "cannot represent labeled-based slice indexer for coordinate 'time' with a slice over integer positions; the index is unsorted or non-unique"
Then I check the installation of the packages. I found that pandas 1.2.5 was not successfully installed, which cause the error.
The error results from the wrong version of pandas, but I cannot install pandas 1.2.5, so I cannot fix the error.
Does anyone know how to install pandas 1.2.5 on kaggle?
I may need some help from @support
Thx very much
Best posts made by omohyoid
-
I cannot install pandas 1.2.5
Latest posts made by omohyoid
-
RE: QNT failed to load data after 2006-01-01
@support I got it. Thanks for ur reply
-
QNT failed to load data after 2006-01-01
I submitted my strategy
but it failed due to data loading from qnt
the output shows that the data loading from qnt ranges from 2004-11-01 to 2005-12-30
the code I submitted is:
start_date, end_date, prepare_date = '2006-01-01', datetime.now().strftime('%Y-%m-%d'), '2004-11-01'
data = qndata.stocks_load_spx_data(min_date = prepare_date, max_date = end_date)
but qnt didn't load the data after 2006-01-01
@support
I would like to know how to fix the problem
-
Can't download assets
After I upgrade to the latest version of qnt library(0.0.406)
An error appears
"Exception: can't download assets"
@support Is there a bug in the latest version of qnt?
![alt text]( image url) -
RE: How to turn off "WARNING: some dates are missed in the portfolio_history"
@support Thanks for ur help
Is there a way to turn off the warning from the outside of the qnt module? I hope that I can just add a line in my strategy code to call something in the qnt module to remove the warning. -
How to turn off "WARNING: some dates are missed in the portfolio_history"
I'm using partial data for testing the performance for machine learning models.
qnt module outputs such warning:
WARNING: some dates are missed in the portfolio_history
I'd like to turn off this warning
But I don't know how to do
Can @support give an example for how to turn off this specific warning?
-
RE: No error messages show why the strategies failed
@support
Do u mean that I should not have these line in my codes?
Should I delete those lines(environ['...'] = '...')? -
No error messages show why the strategies failed
Two strategies failed but no error messages show
I don't what happened to these strategies
The strategies are # 17190184 and # 17190033
Can @support take a look at them -
I was logged out automatically
Today I have tried lots of times to log in and attempted to submit my strategies but when I click "Development", the website lagged and logged me out automatically.
Can @support fix this error?
Thank u very much