MCPcopy Index your code

hub / github.com/kwgoodman/la / functions

Functions1,228 in github.com/kwgoodman/la

↓ 382 callersFunctionprintfail
(theory, practice, header=None)
la/util/testing.py:243
↓ 264 callersMethodisnan
Returns a bool larry with NaNs replaced by True, non-NaNs False. Returns ------- out : larry Returns a c
la/deflarry.py:510
↓ 202 callersMethodall
True if all elements along specified axis are True; False otherwise. Parameters ---------- axis : {int, None
la/deflarry.py:1427
↓ 131 callersFunctionnoreference
Return True if there are no shared references
la/util/testing.py:255
↓ 98 callersMethod_write
Append a piece of text to the current line.
doc/sphinxext/compiler_unparse.py:62
↓ 83 callersMethodcopy
Return a copy of a larry. Examples -------- >>> y = larry([1, 2], [['a', 'b']]) >>> z = y.copy()
la/deflarry.py:4756
↓ 72 callersFunctionlar
()
la/tests/empty_larry_test.py:9
↓ 63 callersMethod_dispatch
_dispatcher function, _dispatching tree type T to method _T.
doc/sphinxext/compiler_unparse.py:75
↓ 48 callersMethodcopylabel
Return a copy of a larry's label. Examples -------- >>> y = larry([1, 2], [['a', 'b']])
la/deflarry.py:4776
↓ 35 callersMethodsum
Sum of values along axis, ignoring NaNs. Parameters ---------- axis : {None, integer}, optional Axis to
la/deflarry.py:960
↓ 27 callersFunctionalign
Align two larrys using one of five join methods. Parameters ---------- lar1 : larry One of the input larrys. Must have t
la/flarry.py:18
↓ 26 callersFunctionbinaryop
Binary operation on two larrys using given function and join method. Parameters ---------- func : function A function th
la/flarry.py:656
↓ 24 callersFunctionmissing_marker
Missing value marker, which is based on dtype, for the given data. Parameters ---------- lar : {larry, ndarray} Input da
la/missing.py:65
↓ 22 callersFunctionismissing
A bool Numpy array with element-wise marking of missing values. Parameters ---------- lar : {larry, ndarray} Input data
la/missing.py:109
↓ 22 callersMethodmorph
Reorder the elements along the specified axis. If an element in `label` does not exist in the larry, NaNs will be us
la/deflarry.py:3121
↓ 20 callersFunctionadd
Sum of two larrys using given join and fill methods. Parameters ---------- lar1 : larry The larry on the left-hand side
la/flarry.py:791
↓ 20 callersMethodany
True if any element along specified axis is True; False otherwise. Parameters ---------- axis : {int, None}, optiona
la/deflarry.py:1381
↓ 19 callersMethodflatten
Return a copy of the larry after collapsing into one dimension. The elements of the label become tuples. Pa
la/deflarry.py:4111
↓ 19 callersFunctionranking
Normalized ranking treating NaN as missing and averaging ties. Parameters ---------- x : ndarray Data to be ranked.
la/farray/normalize.py:126
↓ 19 callersMethodranking
Rank elements treating NaN as missing and averaging ties. Parameters ---------- axis : {int, None} optional
la/deflarry.py:2989
↓ 16 callersMethod_fill
Indent a piece of text, according to the current indentation level
doc/sphinxext/compiler_unparse.py:55
↓ 16 callersFunctioncorrelation
Correlation between two Numpy arrays along the specified axis. This is not a cross correlation function. If the two input arrays have
la/farray/misc.py:37
↓ 16 callersMethodget
Get one x element given a list of label names. Give one label name (not label index) for each dimension. Pa
la/deflarry.py:2012
↓ 16 callersMethodmerge
Merge, or optionally update, a larry with a second larry. See larry.merge for details. Note: the entire lar
la/io.py:166
↓ 15 callersMethodisfinite
Returns a bool larry with NaNs and Inf replaced by True, others False. Returns ------- out : larry Retur
la/deflarry.py:537
↓ 15 callersMethodmean
Mean of values along axis, ignoring NaNs. Parameters ---------- axis : {None, integer}, optional Axis to
la/deflarry.py:1060
↓ 14 callersFunction__Pyx_PyInt_AsLong
la/src/cflabel.c:2038
↓ 14 callersMethodcumsum
Cumulative sum, ignoring NaNs. Parameters ---------- axis : int axis to cumsum along, no default
la/deflarry.py:291
↓ 13 callersMethodmove_sum
Moving window sum along the specified axis, ignoring NaNs. Parameters ---------- window : int Th
la/deflarry.py:2521
↓ 13 callersMethodtake
A copy of the specified elements of a larry along an axis. This method does the same thing as "fancy" indexing (indexing lar
la/deflarry.py:1730
↓ 12 callersMethod__reduce
(self, op, default=np.nan, **kwargs)
la/deflarry.py:1352
↓ 12 callersMethodfill
Inplace filling of data array with specified value. Parameters ---------- fill_value : {scalar, string, etc}
la/deflarry.py:2207
↓ 11 callersMethodkeys
Return a list of larry names (keys) in archive.
la/io.py:127
↓ 11 callersMethodprod
Product of values along axis, ignoring NaNs. Parameters ---------- axis : {None, int}, optional Axis to
la/deflarry.py:996
↓ 11 callersMethodvacuum
Remove all rows and/or columns that contain all NaNs. Parameters ---------- axis : None or int
la/deflarry.py:3825
↓ 10 callersMethodcheck_function
check a method of larry - comparison helper function
la/tests/deflarry_nose_test.py:138
↓ 10 callersFunctionnans
Works like ones and zeros except that the fill value is NaN (by default) The fill value is determined by dtype. The fill value is NaN fo
la/missing.py:7
↓ 9 callersFunctionalign_axis
Align many larrys along potentially different axes. Parameters ---------- lars : array_like A collection (list, tuple, set,
la/flarry.py:379
↓ 9 callersMethodastype
Copy of larry cast to specified type. Parameters ---------- dtype: string or data-type Typecode
la/deflarry.py:3980
↓ 9 callersFunctionheading
(text)
la/util/testing.py:119
↓ 9 callersFunctionisscalar
Returns True if input is a scalar; False otherwise. Parameters ---------- x : any Input can be of any type. Retu
la/util/misc.py:111
↓ 9 callersFunctionmovingsum
Moving sum ignoring NaNs, optionally normalized for missing (NaN) data. Parameters ---------- arr : ndarray Input array.
la/farray/move.py:288
↓ 9 callersMethodshuffle
Shuffle the data inplace along the specified axis. Unlike numpy's shuffle, this shuffle takes an axis argument. The
la/deflarry.py:3605
↓ 8 callersMethodcumprod
Cumulative product, ignoring NaNs. Parameters ---------- axis : int axis to find the cumulative
la/deflarry.py:356
↓ 8 callersMethoddemean
Subtract the mean along the specified axis. Parameters ---------- axis : {int, None}, optional T
la/deflarry.py:2900
↓ 8 callersMethoddemedian
Subtract the median along the specified axis. Parameters ---------- axis : {int, None}, optional
la/deflarry.py:2930
↓ 8 callersMethodlag
Lag the values along the specified axis. Parameters ---------- nlag : int Number of periods (row
la/deflarry.py:3370
↓ 8 callersFunctionsortby
Sort 2d larry by the row or column corresponding to given label element. Parameters ---------- lar : larry A 2d input l
la/flarry.py:1701
↓ 8 callersMethodstd
Standard deviation of values along axis, ignoring NaNs. `float64` intermediate and return values are used for integer inputs.
la/deflarry.py:1163
↓ 8 callersMethodtolist
Convert to a flattened list. See Also -------- la.larry.fromlist : Convert a flattened list to a larry.
la/deflarry.py:4385
↓ 7 callersMethod__align
Align larrys for binary operations.
la/deflarry.py:928
↓ 7 callersMethod_enter
Print ':', and increase the indentation.
doc/sphinxext/compiler_unparse.py:66
↓ 7 callersMethod_leave
Decrease the indentation level.
doc/sphinxext/compiler_unparse.py:71
↓ 7 callersMethod_str_indent
(self, doc, indent=4)
doc/sphinxext/docscrape_sphinx.py:17
↓ 7 callersFunctiongeometric_mean
Return the geometric mean of matrix x along axis, ignore NaNs. Raise an exception if any element of x is zero or less.
la/farray/misc.py:9
↓ 7 callersMethodinsertaxis
Insert a new axis at the specified position. Parameters ---------- axis : int The position to in
la/deflarry.py:4224
↓ 7 callersMethodlabelindex
Return index of given label element along specified axis. Parameters ---------- name : str, datetime.date, i
la/deflarry.py:2413
↓ 7 callersFunctionlistmap_fill
Indices that map one list onto another and indices of unmappable elements. Similar to listmap() but additionaly returns a se
la/flabel.py:91
↓ 6 callersFunction__Pyx_AddTraceback
la/src/cflabel.c:2280
↓ 6 callersMethod__compare
(self, other, op)
la/deflarry.py:1572
↓ 6 callersFunction_openfile
Open an archive if input is a path. Parameters ---------- file : str or h5py.File Filename or h5py.File instance of the
la/io.py:648
↓ 6 callersMethodcheck_function
check a method of larry - comparison helper function
la/tests/deflarry_nose_test.py:307
↓ 6 callersMethodeof
(self)
doc/sphinxext/docscrape.py:52
↓ 6 callersMethodgetlabel
Return a copy of the label or a reference to it. Parameters ---------- axis : int The `axis` ide
la/deflarry.py:2098
↓ 6 callersFunctionlistmap
Indices that map one list onto another list. Parameters ---------- list1 : list The list to map
la/flabel.py:14
↓ 6 callersFunctionmovingsum_forward
Movingsum in the forward direction skipping skip dates.
la/farray/move.py:377
↓ 6 callersMethodsortaxis
Sort data (and label) according to label along specified axis. Parameters ---------- axis : {int, None}, opt
la/deflarry.py:3440
↓ 6 callersMethodsqrt
Element by element square root. Returns ------- out : larry Returns a copy with square root of x
la/deflarry.py:191
↓ 5 callersFunction__Pyx_ArgTypeTest
la/src/cflabel.c:1670
↓ 5 callersMethod__binary_op
(self, t, symbol)
doc/sphinxext/compiler_unparse.py:503
↓ 5 callersFunction_is_archived_larry
True if obj is an archived larry, False otherwise.
la/io.py:676
↓ 5 callersMethod_str_section
(self, name)
doc/sphinxext/docscrape.py:336
↓ 5 callersFunctionarr
()
la/tests/empty_larry_test.py:12
↓ 5 callersMethodflipaxis
Reverse the order of the elements along the specified axis. Parameters ---------- axis : {int, None}, option
la/deflarry.py:3527
↓ 5 callersFunctionisaligned
Return True if labels of two given larrys are aligned along specified axis. Parameters ---------- lar1 : larry Input. la
la/flarry.py:523
↓ 5 callersMethoditeritems
An iterator over (key, value) items.
la/io.py:149
↓ 5 callersMethodlog
Element by element base e logarithm. Returns ------- out : larry Returns a copy with log of x va
la/deflarry.py:140
↓ 5 callersMethodmovingsum_forward
Movingsum in the forward direction skipping skip dates
la/deflarry.py:2882
↓ 5 callersMethodquantile
Assign elements along specified axis into q bins, where smallest elements are in bin 1, next smallest in bin 2, ..., largest elements
la/deflarry.py:3029
↓ 5 callersMethodread
(self)
doc/sphinxext/docscrape.py:37
↓ 5 callersMethodrun
(self)
doc/sphinxext/numpydoc.py:146
↓ 5 callersMethodsqueeze
Remove all length-1 dimensions and corresponding labels. Note that a view (reference) is returned, not a copy.
la/deflarry.py:3332
↓ 5 callersMethodvar
Variance of values along axis, ignoring NaNs. `float64` intermediate and return values are used for integer inputs.
la/deflarry.py:1221
↓ 5 callersMethodzscore
Z-score along the specified axis. Parameters ---------- axis : {int, None}, optional The axis al
la/deflarry.py:2960
↓ 4 callersFunction__Pyx_ExceptionReset
la/src/cflabel.c:1764
↓ 4 callersFunction__Pyx_RaiseArgtupleInvalid
la/src/cflabel.c:1552
↓ 4 callersMethod_is_at_section
(self)
doc/sphinxext/docscrape.py:121
↓ 4 callersFunctioncross_validation
K-fold cross validation iterator of training and testing indices. The division of the possible indices into k folds is random.
la/util/resample.py:6
↓ 4 callersMethodcut_missing
Cut rows and columns that contain too many NaNs. Parameters ---------- fraction : scalar Usually
la/deflarry.py:3756
↓ 4 callersMethodfilename
(self, format)
doc/sphinxext/plot_directive.py:213
↓ 4 callersMethodgetx
Return a copy of the x data or a reference to it. Parameters ---------- copy : {True, False}, optional
la/deflarry.py:2049
↓ 4 callersFunctiongroup_mean
Mean with groups along an axis. Parameters ---------- x : ndarray Input data. groups : list List of group me
la/farray/group.py:60
↓ 4 callersFunctiongroup_median
Median with groups along an axis. Parameters ---------- x : ndarray Input data. groups : list List of group
la/farray/group.py:100
↓ 4 callersFunctionindent
Indents a table by column. - rows: A sequence of sequences of items, one sequence per row. - hasHeader: True if the first row consists o
la/external/prettytable.py:7
↓ 4 callersMethodismissing
A bool larry with element-wise marking of missing values. Returns ------- y : larry Returns
la/deflarry.py:3695
↓ 4 callersFunctionlastrank
The ranking of the last element along the axis, ignoring NaNs. The ranking is normalized to be between -1 and 1 instead of the more
la/farray/normalize.py:12
↓ 4 callersFunctionlrange
Return a new larry of sequential integers, shaped according to input. Parameters ---------- shape : {int, tuple}, optional I
la/flarry.py:1769
↓ 4 callersMethodmax
Maximum values along axis, ignoring NaNs. Parameters ---------- axis : {None, integer}, optional Axis to
la/deflarry.py:1278
↓ 4 callersMethodmaxlabel
Maximum label value along the specified axis. Parameters ---------- axis : {int, None}, optional
la/deflarry.py:2353
↓ 4 callersMethodmedian
Median of values along axis, ignoring NaNs. Parameters ---------- axis : {None, integer}, optional Axis
la/deflarry.py:1126
next →1–100 of 1,228, ranked by callers