-
reversed()
:函数返回一个反转的迭代器。
https://www.runoob.com/python3/python3-func-reversed.html -
round()
:方法返回浮点数x的四舍五入值
https://www.runoob.com/python/func-number-round.html -
enumerate()
:将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列,同时列出数据和数据下标。
https://www.runoob.com/python/python-func-enumerate.html -
np.std()
:计算标准差。std = sqrt(mean(abs(x - x.mean())**2))
https://docs.scipy.org/doc/numpy/reference/generated/numpy.std.html -
pd.DataFrame()
:返回DataFrame()对象。
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.DataFrame.html -
dict.get()
:根据键值返回key值。
https://www.runoob.com/python/att-dictionary-get.html -
pandas.DataFrame.loc()
:选取特定的行或列
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.loc.html -
dict.values()
:返回字典中的值
https://www.runoob.com/python/att-dictionary-values.html -
np.argmax()
:返回最大值的索引、
https://docs.scipy.org/doc/numpy/reference/generated/numpy.argmax.html
Python3 函数积累
猜你喜欢
转载自blog.csdn.net/weixin_43207025/article/details/102652612
今日推荐
周排行