-
Notifications
You must be signed in to change notification settings - Fork 43
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
ValueError: columns cannot be a set #192
Comments
Thanks a lot, I use pandas 1.4.0 to solve this problem. |
My output file is
|
import data into R by following code:
|
Closes Hoohm#192 Pandas' DataFrame() constructor used to accept a `set` as its `columns` argument, but no longer does. This simply converts the `set` to a `list` before creating the data frame. There may be better approaches to deal with this issue, but I'm not familiar enough with this package to know about them.
When I use "CITE-seq-Count-R1./ SRR13724311_S1_L001_R1_001.fastq.gz-R2 SRR13724311_S1_L001_R2_001.fastq.gz-t Cmca9_tag_list_utf8.cfa-cbf 1-cbl 16-umif 17-umil 28 -cells 10000-o OUTFOLDER "is always normal. Always normal when Looking for a whitelist, Correcting cell barcodes appear later
Looking for a whitelist
Collapsing cell barcodes
Correcting umis
Traceback (most recent call last):
File "/home/wangjiawen/miniconda3/bin/CITE-seq-Count", line 8, in
sys.exit(main())
The File "/ home/wangjiawen/miniconda3 / lib/python3.9 / site - packages/cite_seq_count / main. Py", line 603, in the main
io.write_dense(
The File "/ home/wangjiawen/miniconda3 / lib/python3.9 / site - packages/cite_seq_count/IO. Py", 48, the line in write_dense
pandas_dense = pd.DataFrame(sparse_matrix.todense(), columns=columns, index=index)
The File "/ home/wangjiawen/miniconda3 / lib/python3.9 / site - packages/pandas/core/frame. Py", line 744, in init
raise ValueError("columns cannot be a set")
ValueError: columns cannot be a set, how do I solve this problem, this seems to be a python package error
The text was updated successfully, but these errors were encountered: