Home | Trees | Indices | Help |
|
---|
|
|
|||
Container | |||
Null Null objects always and reliably, do nothing. |
|||
MyList | |||
DecisionFuncResults |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Determine if the lists A and B contain exactly the same elements (the lists are treated as multisets) |
Take a sublist of a list where each member has an id the sublist is taken according to the given sublist of ids these indicate either ids to take or ids to remove (default behavior is to take the ids in idlist, use the option "remove" for the other behavior) |
return a sublist of a list INPUT A - list, list of lists, or a list of strings I - subset of "rows" (first index) to take J - subset of "columns" (second index) to take (optional) returns A[i] for i in I or A[i][j] for i in I and j in J if J is given |
convert a list to a dictionary If a value list is not given, then the value 1 is associated with each element in the dictionary to assign each element its position in the list use: list2dict(A, range(len(A))) |
sort the values and keys of a dictionary assumes values are numeric |
Update a dict or an object with according to entries. >>> update({'a': 1}, a=10, b=20) {'a': 10, 'b': 20} >>> update(Struct(a=1), a=10, b=20) Struct(a=10, b=20) |
Time the application of fn to args. Return (result, seconds). |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Apr 27 07:57:02 2008 | http://epydoc.sourceforge.net |