当前位置:网站首页>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学习过程的中。要用比较新的书籍。旧的参考资料会
不断的出现类似问题。
边栏推荐
猜你喜欢

MOSN 反向通道详解

idea使用@Autowired注解爆红原因及解决方法

高可用 两地三中心

web安全-PHP反序列化漏洞
![[Harmony OS] [ArkUI] ets development graphics and animation drawing](/img/36/f4c91f794b1321f11a24505d1617fb.png)
[Harmony OS] [ArkUI] ets development graphics and animation drawing

数字孪生园区场景中的坐标知识
breed Web刷机升级详细教材修正编译器固件说明_itkeji.top

Interface test practice | Detailed explanation of the difference between GET / POST requests

Interface Test Framework Practice (4) | Get Schema Assertion

13.
lt.647. Palindromic substring + lt.516. Longest palindrome subsequence
随机推荐
Super handy drawing tool is recommended
初步认识ZK
vim命令
shell脚本循环语句
Install PostgreSQL on Windows
业务表解析-余额系统
Junit
Interface testing framework combat (3) | JSON request and response assertion
VR全景展打造专属元宇宙观展空间
Detailed explanation of MOSN reverse channel
Object类与常用API
Response 重写设置返回值
DFS's complement to pruning
3. 无重复字符的最长子串
Djiango第二次培训
背压机制
安装IIS服务(Internet信息服务(Internet Information Services,简写IIS,互联网信息服务)
junit总结
Apache DolphinScheduler版本2.0.5分布式集群的安装
CAD有生僻字如何打出来、如何提交软件相关问题或建议?