当前位置:网站首页>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学习过程的中。要用比较新的书籍。旧的参考资料会
不断的出现类似问题。
边栏推荐
猜你喜欢
随机推荐
closures in js
Coordinate knowledge in digital twin campus scenarios
生活原则。
【Flask】Flask-SQLAlchemy的增删改查(CRUD)操作
斐讯K2路由编译Padavan华硕固件和心得
Tag stack - stack monotonically preparatory knowledge - lt. 739. The daily temperature
2022暑假牛客多校联赛第一场
3. 无重复字符的最长子串
Object类与常用API
Junit
BIOTIN ALKYNE CAS: 773888-45-2 Price, Supplier
获取Ip工具类
【HMS core】【Ads Kit】Huawei Advertising——Overseas applications are tested in China. Official advertisements cannot be displayed
Online password generator tool recommendation
odps的临时查询能在写sql的时候就给结果一个命名不?
Practical application of WebSocket
Create a tree structure
Where is the value of testers
typescript45-接口之间的兼容性
Presto installation and deployment tutorial









