![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python入门-list
NO23412号菜狗
这个作者很懒,什么都没留下…
展开
-
Python Numpy中reshape函数参数-1的含义
(100条消息) Python Numpy中reshape函数参数-1的含义_小红的博客-CSDN博客原创 2021-07-05 23:21:55 · 123 阅读 · 0 评论 -
dataframe append 使用方法
pandas.DataFrame.appendDataFrame.append(other,ignore_index=False,verify_integrity=False,sort=False)[source]Append rows ofotherto the end of caller, returning a new object.Columns inotherthat are not in the caller are added as new columns.Par...原创 2020-11-25 09:56:32 · 4171 阅读 · 0 评论 -
python获取数组中最多的元素(用max函数)
sample1 = [1,2,3,3,3,4,5,5]max(set(sample1),key=sample1.count)原创 2020-09-01 21:19:22 · 556 阅读 · 0 评论 -
简单python 实现真正的计算机科学列表形式
python的列表并不是传统的list 所以append的效率比insert效率高class Node: def __init__(self,value,next=None): self.value=value self.next=nextL=Node("a",Node("b",Node("c",Node("d"))))L.next.next.va...原创 2019-10-18 22:02:54 · 118 阅读 · 0 评论