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
TypeError: Feature names are only supported if all input features have string names, but your input has ['int', 'str'] as feature name / column name types.
#571
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.
Hello)
I have tried three binners separatly, metaba2 and maxbin2 finished successfully, but concuct keep getting me this error -
File "/mnt/nvme/tu/miniconda3/lib/python3.12/site-packages/sklearn/utils/validation.py", line 2417, in _get_feature_names
raise TypeError(
TypeError: Feature names are only supported if all input features have string names, but your input has ['int', 'str'] as feature name / column name types. If you want feature names to be stored and validated, you must convert them all to strings, by using X.columns = X.columns.astype(str) for example. Otherwise you can remove feature / column names from your input data, or convert them all to a non-string data type.
I used:
/mnt/nvme/tu/miniconda3/bin/metawrap binning -o /mnt/nvme/tu/polyfilter_results/INITIAL_BINNING -t 10 -a /mnt/nvme/tu/polyfilter_results/assembly_carpedeam/assembly_FP2_carpedeam.fasta --concoct /mnt/nvme/tu/polyfilter_results/CLEAN_READS_metawrap/*fastq
I would appreciate any help
Thank you,
Best,
Alla
The text was updated successfully, but these errors were encountered:
Hello)
I have tried three binners separatly, metaba2 and maxbin2 finished successfully, but concuct keep getting me this error -
File "/mnt/nvme/tu/miniconda3/lib/python3.12/site-packages/sklearn/utils/validation.py", line 2417, in _get_feature_names
raise TypeError(
TypeError: Feature names are only supported if all input features have string names, but your input has ['int', 'str'] as feature name / column name types. If you want feature names to be stored and validated, you must convert them all to strings, by using X.columns = X.columns.astype(str) for example. Otherwise you can remove feature / column names from your input data, or convert them all to a non-string data type.
I used:
/mnt/nvme/tu/miniconda3/bin/metawrap binning -o /mnt/nvme/tu/polyfilter_results/INITIAL_BINNING -t 10 -a /mnt/nvme/tu/polyfilter_results/assembly_carpedeam/assembly_FP2_carpedeam.fasta --concoct /mnt/nvme/tu/polyfilter_results/CLEAN_READS_metawrap/*fastq
I would appreciate any help
Thank you,
Best,
Alla
The text was updated successfully, but these errors were encountered: