-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'IOHandles' #337
Comments
Hi, I also came across the problem, and the version of Cooler is And, the below version works,
|
This appears to be due to some behavior in an old pandas version we haven't accounted for. Upgrading to the latest possible pandas that supports your python version might fix it. If not, please share which version of pandas causes the error, and your python version. If you can upgrade to pandas >=2, it should work. Note that pandas 2 only works on py38 or later. |
Yes, the below version combination also works,
|
thanks! now I get the following error: pandas.errors.ParserError: Too many columns specified: expected 3 and found 2 Thanks a lot, |
I also ran into this issue with pandas 1.5.1 and cooler 0.9.3. Upgrading to pandas 2.1.2 fixed the problem. Thanks! |
Hey,
When using cool cload pairs, I get the following:
/python3.8/site-packages/cooler/cli/cload.py", line 551, in pairs
f_in = get_handle(pairs_path, mode='r', compression='infer')[0]
TypeError: 'IOHandles' object is not subscriptable
I will be happy for help!
thanks,
yarden
The text was updated successfully, but these errors were encountered: