【发布时间】:2020-10-18 20:10:06
【问题描述】:
导入Pandas后,在创建pandasdataframe时,Intellisense不显示创建的object.(Image 2, where I try to use the .head() function)的可用属性/方法。
它检测到模块pd(pandas)方法没有任何问题(见图1)。
在浏览器上运行 Jupyter Notebook 或 Jupyter Lab 时没有这个问题。
我正在使用:
- Windows 7
- Conda 环境中的 Python 3.8.3。
- VSCODE 1.46.1
- Python 扩展 2020.6.90262
- 微软语言服务器
- Visual Studio Intellicode 1.2.8
IMAGE 1:它使用智能感知来检测模块方法/属性
图像 2:Intellisense 不显示 pandas 对象的可用属性/方法
【问题讨论】:
标签: python pandas visual-studio-code