Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

应用实践中移除第三方库numpy #5524

Closed
wants to merge 2 commits into from

Conversation

sanbuphy
Copy link
Contributor

@sanbuphy sanbuphy commented Dec 18, 2022

修改了范例文档中出现.numpy的残留情况
PaddlePaddle/Paddle#48047

@paddle-bot
Copy link

paddle-bot bot commented Dec 18, 2022

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5524.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:[Beta]飞桨文档预览工具

@sanbuphy sanbuphy changed the title fix .numpy() 示例代码中移除第三方库numpy Dec 18, 2022
@@ -68,12 +68,12 @@
}
],
"source": [
"import pandas as pd\r\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么要删掉 \r ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

很奇怪,我在保存后它自动删除了所有的\r

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是Linux环境吗?

@Ligoml
Copy link
Collaborator

Ligoml commented Dec 19, 2022

这部分其实不属于API文档的示例代码,这是应用实践,ipynb是要求能在notebook中跑通的,但是CI不会验证,所以删掉numpy引用后能否跑通需要人工确认

@Ligoml Ligoml changed the title 示例代码中移除第三方库numpy 应用实践中移除第三方库numpy Dec 19, 2022
@sanbuphy
Copy link
Contributor Author

这部分其实不属于API文档的示例代码,这是应用实践,ipynb是要求能在notebook中跑通的,但是CI不会验证,所以删掉numpy引用后能否跑通需要人工确认

明白了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants