码迷,mamicode.com
首页 > 编程语言 > 详细

在Python中使用help帮助

时间:2014-10-19 00:02:58      阅读:359      评论:0      收藏:0      [点我收藏+]

标签:style   io   ar   使用   for   sp   on   cti   bs   

在Python中使用help帮助

>>> import numpy
>>> help(numpy.argsort)
Help on function argsort in module numpy.core.fromnumeric:


argsort(a, axis=-1, kind=‘quicksort‘, order=None)
    Returns the indices that would sort an array.
    
    Perform an indirect sort along the given axis using the algorithm specified
    by the `kind` keyword. It returns an array of indices of the same shape as
    `a` that index data along the given axis in sorted order.

在Python中使用help帮助

标签:style   io   ar   使用   for   sp   on   cti   bs   

原文地址:http://www.cnblogs.com/yyxayz/p/4034034.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!