如何在Jupyter Notebook Vscode上获得塔属自动象征?
有什么办法可以在jupyter笔记本上拥有远程自动Import功能?
现在,塔的行为就像他每次在笔记本上编写功能时都不知道包裹,如果我切换到.py
文件,它可以完美地工作。
"train_test_split" is not defined Pylance(reportUndefinedVariable)
每次在笔记本上工作时都必须手动导入,这真是令人讨厌。
Is there any way I can have the Pylance auto-import function on Jupyter Notebooks?
Right now Pylance acts like he doesn't know the package each time I write a function when on a notebook, if I switch to a .py
file it works perfectly.
"train_test_split" is not defined Pylance(reportUndefinedVariable)
It's such an annoyance having to import manually each time when working on notebooks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
依赖性分析不适用于IPYNB Python细胞。
您可以禁用此扩展名。手动将单元的右下角改为Python。
Dependency Analytics doesn't work with ipynb python cells.
You can disable this extension. Manually change the lower right corner of the cell to python.
PY-LANCE团队在这里,我的问题已经得到了我的问题。 。
该功能尚未实现,但目前已在Insider VS代码版本中可用。
My question has been answered by the Py-Lance team here.
The feature wasn't implemented yet but is right now available in the insider VS Code version as of now.