当前位置:网站首页>ERROR:bokeh.core.validation.check:E-1001 (BAD_COLUMN_NAME)
ERROR:bokeh.core.validation.check:E-1001 (BAD_COLUMN_NAME)
2022-07-28 14:20:00 【bingbangx】
意思是:没有这个列名
产生这个错误的原因是:
由DataFrame格式转换成ColumnDataSource数据时,不能识别出列名,所以报错了。
查看发现之前的代码是:含有index列,然后直接将源数据代入绘图;
究其原因为何不能识别出列名,应该是含有index索引列,所以识别的时候出现了问题
修改方法:将index列变为普通列,就可以了。
改变后的代码为:
data_fin = data_fin.reset_index(drop=False)
source = ColumnDataSource(data_fin) # 构造数据边栏推荐
- Mysql易错知识点整理(待更新)
- @Solution to DS ('slave') multi data source compatible transaction problem
- About the reptile thing
- charles如何安装并使用
- DJ-131/60C电压继电器
- RY-D1/1电压继电器
- RepVGG论文详解以及使用Pytorch进行模型复现
- 3540. 二叉搜索树
- DataTables warning: table id=campaignTable - Cannot reinitialise DataTable.解决
- Mysql使用left join连表查询时,因连接条件未加索引导致查询很慢
猜你喜欢

经典Dijkstra与最长路

每日一题(回溯)

使用cpolar发布树莓派网页(apache2的安装测试)
![[complete installation package & tutorial] sqlserver basic installation_ Sqlserver completely uninstalled_ Sqlserver custom installation_ Getting started with sqlserver_ SQLSERVER database](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[complete installation package & tutorial] sqlserver basic installation_ Sqlserver completely uninstalled_ Sqlserver custom installation_ Getting started with sqlserver_ SQLSERVER database

shellcode编写学习-环境

3588. Permutation and binary

JS -- realize the rotation chart (complete function)

RY-D1/1电压继电器

DataTables warning: table id=campaignTable - Cannot reinitialise DataTable.解决

JS study notes 18-23
随机推荐
redis常用命令总结(自备)
SQL labs detailed problem solving process (less1-less10)
SSRF vulnerability
JS learning notes 24-28: end
Mlx90640 infrared thermal imager sensor module development notes (VIII)
crmeb 标准版window+phpstudy8安装教程(二)
Compose learning notes 1-compose, state, flow, remember
使用cpolar发布树莓派网页(apache2的安装测试)
安装mosek,license安装位置查找
3540. Binary search tree
苹果iPhone手机APP应用图标隐藏怎么找回恢复显示在iPhone苹果手机桌面显示被隐藏的应用APP图标到iPhone苹果手机桌面?
pyppeteer 遇到的问题
Publish raspberry pie web page with cpolar (release of apache2 web page)
Use of beefs
buuctf_ php
Specific operation process of network security emergency response
crmeb v4.3部署流程
每日一题(回溯)
流畅到让人头皮发麻的单商户商城,你用过吗?
为什么企业需要用户自治的数字身 份