python
小羊羊羊羊羊
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python import site failed
python import failed原创 2022-09-05 11:52:40 · 967 阅读 · 1 评论 -
Pandas报错TypeError: Cannot perform ‘rand_‘ with a dtyped [float64] array and scalar of type [bool]
Pandas报错TypeError: Cannot perform ‘rand_’ with a dtyped [float64] array and scalar of type [bool]: 通过多个条件进行excel数据的筛选报错,源码如下: src = df_all[df_all['TimeId'] == times[i] & df_all['CPP'] != -1000] } 解决方法: 每个条件外加括号 src = df_all[(df_all['TimeId'] == ti原创 2022-03-30 19:33:50 · 2313 阅读 · 1 评论
分享