type-conversion - 可以做哪些即兴创作来纠正错误?
问题描述
col_cvotes_list =[] for i ingenre_top10.columns: if i.startswith('CVotes'): col_cvotes_list.append(i)
Genre_top10[col_cvotes_list] = Genre_top10[col_cvotes_list].astype(int)
流派_top10.head()
ValueError:使用序列设置数组元素。
解决方案
推荐阅读
- react-native - 在抽屉中使用本机多屏反应
- android - 颤振流显示错误类型“_TypeError”不是“字符串”类型的子类型
- flutter - 如何使用 Flutter hive 创建标记为 fabourite 按钮?
- javascript - 如何添加条件删除类 -
- c# - 如何制作一个从C#中的列表返回值的函数
- python - DataSpell (JetBrains) 在 Jupyter 笔记本中显示错误:“您的浏览器不支持 WebGL ...”
- flutter - 无法在 Flutter Video Player 中播放 IPTV 频道
- nlp - `pylucene` 和 `pyhanlp` 之间有冲突吗?
- java - Java - 将对象插入队列,但在 java 中出现异常,即使节点已初始化
- python - 如何在 Python Pandas 中查找文件