随笔分类 -  python

摘要:https://wenku.csdn.net/answer/890d28ffcd0e45d4b74cf02dc2ad6d93 阅读全文
posted @ 2023-11-07 23:21 liushao-AI 阅读(96) 评论(0) 推荐(0) 编辑
摘要:https://tieba.baidu.com/p/4778495824 幸好刚刚找到答案了,对于题主来说可能是帮不上忙了,但是对于碰巧搜到这里的同萌们可能会方便很多,最简实现如下(Python 3.6.2):import matplotlib.pyplot as pltimport numpy a 阅读全文
posted @ 2023-09-08 23:38 liushao-AI 阅读(495) 评论(0) 推荐(0) 编辑
摘要:https://www.python100.com/html/639RN4V5T3ZL.html python删除数组中的五种方法,包括remove()、pop()、del关键字、列表解析和numpy库的delete()函数。每种方法都有其特点,可以根据具体情况选择。 方法二:pop() pop() 阅读全文
posted @ 2023-08-17 23:37 liushao-AI 阅读(2130) 评论(0) 推荐(0) 编辑
摘要:首先创建一个DataFrame >>> import pandas as pd >>> df= pd.DataFrame({ 'brand': ['Yum Yum', 'Yum Yum', 'Indomie', 'Indomie', 'Yum Yum'], 'style': ['cup', 'cup 阅读全文
posted @ 2023-08-12 23:04 liushao-AI 阅读(247) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示