SciPy 0.6.0 API Documentation Generated by Endo, 2007-10-17
Like the |Stat abut command. It concatenates two arrays column-wise
and returns the result. CAUTION: If one array is shorter, it will be
repeated until it is as long as the other.
Format: abut (source, args) where args=any # of arrays
Returns: an array as long as the LONGEST array past, source appearing on the
'left', arrays in <args> attached on the 'right'.
Returns rows from the passed list of lists that meet the criteria in the passed criterion expression (a string).
Format: adm (a,criterion) where criterion is like 'x[2]==37'
axis (column extraction is default). BEWARE: A 1D array is presumed to be a column-array (and that the whole array will be returned as a column).
Returns: the columns of a specified by indices
Averages data in collapsecol, keeping all unique items in keepcols (using unique, which keeps unique LISTS of column numbers), retaining the unique sets of values in keepcols, the mean for each. If the sterr or N of the mean are desired, set either or both parameters to 1.
Returns: unique 'conditions' specified by the contents of columns specified by keepcols, abutted with the mean(s,axis=0) of column(s) specified by collapsecols
Returns a string composed of elements in inlist, with each element right-aligned in a column of width specified by a sequence colsizes. The length of colsizes must be greater than or equal to the number of columns in inlist.
Format: lineincustcols (inlist,colsizes) Returns: formatted string created from inlist
Returns the rows of an array where col (from columnlist) = val (from valuelist). One value is required for each column in columnlist.
Returns: the rows of a where columnlist[i]=valuelist[i] for ALL i
Converts a 1D list to a single long string for file output, using the string.join function.
Format: list2string (inlist) Returns: the string created from inlist
Prints a list of lists in columns, customized by the max size of items within the columns (max size of items in col, plus 'extra' number of spaces). Use 'dashes' or ' ' in the list(oflists) to print dashes or blank lines, respectively.
Format: printcc (lst,extra=2) Returns: None
Returns unique items in the FIRST dimension of the passed array. Only works on arrays NOT including string items (e.g., type 'O' or 'c').
| Local name | Refers to |
|---|---|
| asarray | numpy.asarray |
| copy | copy |
| ListType | types.ListType |
| N | numpy |
| stats | SciPy.stats.stats |
| StringType | types.StringType |
| TupleType | types.TupleType |