python - 在 Python 中显示虹膜数据集时出错
问题描述
我正在学习 Udemy 的数据科学课程。运行代码显示虹膜数据集后,没有显示。相反,它会下载一个数据文件。
我正在运行以下代码:
from IPython.display import HTML
HTML('<iframe src=http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data></iframe>')
代码是否正确?您能否帮助如何使用 iframe 在 python 中显示 iris 数据集?
解决方案
尝试:
pip uninstall prompt-toolkit
pip install prompt-toolkit
旧版本:1.0.14
新版本:3.0.2
推荐阅读
- scala - 使用 Scala 和 Mockito 在 Spray/Akka 路由器中调用验证函数
- php - 如何在PHP中的特定字符后添加字符串
- apache-camel - 如何在apache骆驼中以速度附加文件内容
- c# - 缺少 using 指令或程序集引用
- python - 没有名为“scapy”的模块。Kali 和 Python 2.6
- javascript - 将 IsoDate 数组转换为日期格式
- javascript - 需要绕过 iframe Deny,实际上在 js fiddle 中工作,但我无法运行浏览器
- android - android.nfc.TagLostException:标签丢失
- docker - 如何在 linux 服务器中部署 portus docker 注册表
- r - 将分钟数据集求和或聚合到每日数据集,对 R 中每 60 行的不同列应用不同的函数