当前位置:网站首页>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学习过程的中。要用比较新的书籍。旧的参考资料会
不断的出现类似问题。
边栏推荐
猜你喜欢
![[Harmony OS] [ARK UI] ETS context basic operations](/img/40/d5924477c42e2b3246eb212f4be534.png)
[Harmony OS] [ARK UI] ETS context basic operations

13.
lt.647. Palindromic substring + lt.516. Longest palindrome subsequence 
Redis6学习笔记

快速上手 Mockito 单元测试框架

Kaggle(四)Scikit-learn

Exception (abnormal) and Error (error) difference analysis

Coordinate knowledge in digital twin campus scenarios

High availability, two locations and three centers

【Harmony OS】【FAQ】Hongmeng Questions Collection 1

Pr第三次培训笔记
随机推荐
Common fluorescent dyes to modify a variety of groups and its excitation and emission wavelength data in the data
shell脚本循环语句
第四次培训
idea使用@Autowired注解爆红原因及解决方法
Get the Ip tool class
快速上手 Mockito 单元测试框架
Pr第四次培训笔记
Apache DolphinScheduler版本2.0.5分布式集群的安装
斐讯K2路由编译Padavan华硕固件和心得
typescript43-类型兼容性说明
Detailed explanation of MOSN reverse channel
初步认识ZK
idea uses @Autowired annotation to explain the reasons and solutions
Harmony OS Date ano UI 】 【 】 the basic operation
web安全-SSTI模板注入漏洞
web安全-PHP反序列化漏洞
Lambda表达式案例
《录取通知》 观后感
Fluorescent marker peptides FITC/AMC/FAM/Rhodamine TAMRA/Cy3 / Cy5 / Cy7 - Peptide
用户密码验证