问题描述
我有一个使用pandas并从csv文件创建数据框的python脚本,我想使用 pandas-profiling包显示数据框信息,并在用户运行该功能后在浏览器中显示报告
ValueError: startfile: filepath too long for Windows
代码:
def displayDfInfo(self,df):
profile = pp.ProfileReport(df)
html_profile = profile.to_html()
webbrowser.open(html_profile,new=1)
解决方法
我将其简化为:
SPHelper.setString("ID",value);