当前位置:网站首页>OptionError: ‘Pattern matched multiple keys‘
OptionError: ‘Pattern matched multiple keys‘
2022-08-03 05:10:00 【xiaozheng123121】
今天在使用 set_option(‘precision’, 999) 时出现了如上的报错。
将语句改为 pd.options.display.precision=999 就得到了解决。
并且就一些其他的属性来说。set_options也被禁用。
import pandas as pd
import numpy as np
# downcast如果没有安装请 pip install downcast
from downcast import reduce
pd.set_option('max_columns', 999)
pd.set_option('max_rows', 999)
————————————————
# 修改后
pd.options.display.max_rows= 999
pd.options.display.max_columns = 999
这说明在python学习过程的中。要用比较新的书籍。旧的参考资料会
不断的出现类似问题。
边栏推荐
- Interface test framework combat (1) | Requests and interface request construction
- 高效率科研神器——小软件、大能量
- High availability, two locations and three centers
- HarmonyOS应用开发第一次培训
- Interface testing framework combat (3) | JSON request and response assertion
- Technology Sharing | How to do assertion verification for xml format in interface automation testing?
- ss-1.curl (cloud-provider-payment8001)
- 传说中可“免费白拿”的无线路由器 - 斐讯 K2 最简单刷 breed 与第三方固件教程
- 2. 两数相加
- 13.
lt.647. Palindromic substring + lt.516. Longest palindrome subsequence
猜你喜欢

Redis6学习笔记

Alienware上线首个数字时装AR试穿体验

Harmony OS Date ano UI 】 【 】 the basic operation

typescript46-函数之间的类型兼容性

3. 无重复字符的最长子串

VSO Downloader Ultimate 5.0.1.45 中文多语免费版 在线视频下载工具

MOSN 反向通道详解

数据分析 第一篇

【HMS core】【Ads Kit】Huawei Advertising——Overseas applications are tested in China. Official advertisements cannot be displayed

Installation of Apache DolphinScheduler version 2.0.5 distributed cluster
随机推荐
IO流及其操作
建造者模式(Builder Pattern)
Interface testing framework combat (3) | JSON request and response assertion
Exception (abnormal) and Error (error) difference analysis
Install IIS services (Internet Information Services (Internet Information Services, abbreviated IIS, Internet Information Services)
PotPlayer实现上班摸鱼电视自由
JS学习笔记(三)
Detailed explanation of MOSN reverse channel
13.< tag-动态规划和回文字串>lt.647. 回文子串 + lt.516.最长回文子序列
2. 两数相加
JDBC与连接池
Practical application of WebSocket
信息编码、存储压缩与密码学
idea uses @Autowired annotation to explain the reasons and solutions
第三次HarmonyOS培训
Pr第三次培训笔记
web安全-命令执行漏洞
获取Ip工具类
Installation of Apache DolphinScheduler version 2.0.5 distributed cluster
Two ways to simulate multi-user login in Jmeter