我有一个相当复杂的嵌套字典,可以使用熊猫将其很好地打印为html。
不过,像这样的值中有一个字典是打印在这样的单元格中的:
pd.set_option('display.max_colwidth',-1)已设置,因此这不是问题。
这是造成问题的代码:
is_increasing <- function(vec) {
return(all(diff(vec) > 0))
}
is_increasing(xx)
#[1] TRUE
is_increasing(yy)
#[1] FALSE
该函数称为createTablesFromDict(modelDict,count)
modelDict看起来像这样:
https://www.spjeff.com/2017/09/27/fixed-rdp-requires-authentication-twice/
}
有人知道如何显示整个词典吗?
在此先感谢您的阅读。