jupyter报错KeyError: ‘icosapent‘

news/2024/10/17 15:29:20/

指的是未找到关键词

代码想在一个pkl文件里找到关键词对应的值,然后报了这个错

尝试直接双击pkl文件,显示:

这个意思不是说这个文件保存失败,也不是说这个文件是坏的,而是jupyter无法读取这个格式。

换成pycharm运行就不会有这个问题了,可以顺利跑通。

不知有没有更好的办法解决哈哈哈哈,毕竟还得把代码拿来拿去😂


http://www.ppmy.cn/news/1266291.html

相关文章

算法分析与设计题目和参考代码

注&#xff1a;以下题目与代码来源于各种渠道 算法与分析设计 第0章 C常用函数与头文件1. 算法 #include \<algorithm\>2. 栈 #include \<stack\>3. 队列 #include \<queue\>4. 优先队列 #include \<queue\>5. map #include \<map\> 第一章 概论…

day33-37-SpringBootV12(整合Spring,SpringMVC,Mybatis,日志,api测试等框架)

ssm spring --> applicationContext.xml配置文件 springmvc --> springmvc.xml配置文件 mybatis —> mybatis-config.xml配置文件 —> springboot优化了之前的框架配置,思想是约定大于配置 一、引言 1.1 初始化配置 为了使用SSM框架去开发&#xff0c;准备SSM…

LintCode 123 · Word Search (DFS字符处理经典题!)

123 Word Search Algorithms Medium Description Given a 2D board and a string word, find if the string word exists in the grid. The string word can be constructed from letters of sequentially adjacent cell, where “adjacent” cells are those horizontally o…

加索引后 sql loader-951

加索引后 sql loader-951 现象解决过程最终解决 现象 之前使用sqlldr正常&#xff0c;加表索引后使用sqlldr时 报错 SQL Loader-951 解决过程 百度&#xff0c;说可能是锁表&#xff08;或者表未提交&#xff09; 查看没有对应未commit数据&#xff0c;且没有锁表。查看对应…

SQL语句---带NOT IN关键字的条件查询

介绍 使用not in关键字进行条件查询。 命令 select 字段1,字段2 from 表名 where 字段名 not in (元素1,元素2);例子 查询a表中id不等于1和2的数据&#xff1a; select * from a where id not in (1,2);

Linux——web网站服务(一)

一、安装httpd服务器Apache网站服务 1、准备工作 为了避免发送端口冲突&#xff0c;程序冲突等现象&#xff0c;卸载使用rpm方式安装的httpd #使用命令检查是否下载了httpd [rootserver ~]# rpm -qa httpd #如果有则使用 [rootserver ~]# rpm -e httpd --nodeps Apache的配置…

uni-app 微信小程序之好看的ui登录页面(四)

文章目录 1. 页面效果2. 页面样式代码 更多登录ui页面 uni-app 微信小程序之好看的ui登录页面&#xff08;一&#xff09; uni-app 微信小程序之好看的ui登录页面&#xff08;二&#xff09; uni-app 微信小程序之好看的ui登录页面&#xff08;三&#xff09; uni-app 微信小程…

优势怪代码

#include <stdio.h> int main() { int t; scanf("%d", &t); // 读取测试用例的数量 while (t--) { // 对每个测试用例进行处理 int n, max1 0, max2 0, k 0; scanf("%d", &n); // 读取数组的大小 in…