MCPcopy Create free account

hub / github.com/awslabs/predictive-maintenance-using-machine-learning / functions

Functions27,130 in github.com/awslabs/predictive-maintenance-using-machine-learning

↓ 7 callersFunctionallow
(attr)
source/predictive_maintenance/numpy/distutils/ccompiler.py:391
↓ 7 callersFunctionappend_fields
Add new fields to an existing array. The names of the fields are given with the `names` arguments, the corresponding values with the `da
source/predictive_maintenance/numpy/lib/recfunctions.py:679
↓ 7 callersMethodapply
(self, func, *args, **kwargs)
source/predictive_maintenance/pandas/core/groupby/generic.py:748
↓ 7 callersMethodapply_index
(self, i)
source/predictive_maintenance/pandas/tseries/offsets.py:1341
↓ 7 callersMethodarr_equal
(self, arr1, arr2)
source/predictive_maintenance/numpy/f2py/tests/test_array_from_pyobj.py:276
↓ 7 callersFunctionarrays_to_mgr
Segregate Series based on type and coerce into matrices. Needs to handle a lot of exceptional cases.
source/predictive_maintenance/pandas/core/internals/construction.py:43
↓ 7 callersMethodas_latex
(self, obj)
source/predictive_maintenance/numpy/polynomial/tests/test_classes.py:569
↓ 7 callersMethodas_ordered
Set the Categorical to be ordered. Parameters ---------- inplace : boolean (default: False) Whether or no
source/predictive_maintenance/pandas/core/arrays/categorical.py:759
↓ 7 callersMethodasfreq
Convert the Period Array/Index to the specified frequency `freq`. Parameters ---------- freq : str a fre
source/predictive_maintenance/pandas/core/arrays/period.py:413
↓ 7 callersFunctionassert_no_gc_cycles
Fail if the given callable produces any reference cycles. If called with all arguments omitted, may be used as a context manager: w
source/predictive_maintenance/numpy/testing/_private/utils.py:2303
↓ 7 callersFunctionassert_resolves
(css, props, inherited=None)
source/predictive_maintenance/pandas/tests/io/formats/test_css.py:8
↓ 7 callersFunctionassert_shapes_correct
(input_shapes, expected_shape)
source/predictive_maintenance/numpy/lib/tests/test_stride_tricks.py:13
↓ 7 callersMethodastype
(self, dtype, copy=True)
source/predictive_maintenance/pandas/core/arrays/datetimes.py:615
↓ 7 callersMethodastype
Cast to an ExtensionArray or NumPy array with dtype 'dtype'. Parameters ---------- dtype : str or dtype
source/predictive_maintenance/pandas/core/arrays/interval.py:572
↓ 7 callersFunctionastype_nansafe
Cast the elements of an array to a given dtype a nan-safe manner. Parameters ---------- arr : ndarray dtype : np.dtype copy
source/predictive_maintenance/pandas/core/dtypes/cast.py:597
↓ 7 callersMethodbackground_gradient
Color the background in a gradient according to the data in each column (optionally row). Requires matplotlib. Para
source/predictive_maintenance/pandas/io/formats/style.py:881
↓ 7 callersFunctionbmat
Build a matrix object from a string, nested sequence, or array. Parameters ---------- obj : str or array_like Input data. If
source/predictive_maintenance/numpy/matrixlib/defmatrix.py:1032
↓ 7 callersFunctionbroadcast_to
Broadcast an array to a new shape. Parameters ---------- array : array_like The array to broadcast. shape : tuple The
source/predictive_maintenance/numpy/lib/stride_tricks.py:144
↓ 7 callersMethodcheck_error_on_write
(self, df, exc)
source/predictive_maintenance/pandas/tests/io/test_feather.py:22
↓ 7 callersMethodcheck_libs2
If static or shared libraries are available then return their info dictionary. Checks each library for shared or static.
source/predictive_maintenance/numpy/distutils/system_info.py:789
↓ 7 callersMethodcheck_qr
(self, a)
source/predictive_maintenance/numpy/linalg/tests/test_linalg.py:1574
↓ 7 callersMethodcheck_results
(self, holiday, start, end, expected)
source/predictive_maintenance/pandas/tests/tseries/test_holiday.py:91
↓ 7 callersMethodcheck_round_trip
(self, df, expected=None, **kwargs)
source/predictive_maintenance/pandas/tests/io/test_feather.py:30
↓ 7 callersMethodclone
(self, hook_handler)
source/predictive_maintenance/numpy/distutils/fcompiler/environment.py:82
↓ 7 callersMethodclose
If we opened a stream earlier, in _get_data_from_filepath, we should close it. If an open stream or file was passed, we leav
source/predictive_maintenance/pandas/io/json/json.py:565
↓ 7 callersMethodconsolidate
Join together blocks having same dtype Returns ------- y : BlockManager
source/predictive_maintenance/pandas/core/internals/managers.py:911
↓ 7 callersMethodconvert
attempt to coerce any object types to better types return a copy of the block (if copy = True) by definition we are not an ObjectBlock
source/predictive_maintenance/pandas/core/internals/blocks.py:660
↓ 7 callersMethodcorr
Compute correlation with `other` Series, excluding missing values. Parameters ---------- other : Series meth
source/predictive_maintenance/pandas/core/series.py:2068
↓ 7 callersFunctioncustomized_ccompiler
(plat=None, compiler=None)
source/predictive_maintenance/numpy/distutils/__init__.py:31
↓ 7 callersFunctiondadd
(line, s=doc)
source/predictive_maintenance/numpy/f2py/f90mod_rules.py:103
↓ 7 callersFunctiondict_append
(d, **kws)
source/predictive_maintenance/numpy/distutils/misc_util.py:2234
↓ 7 callersFunctiondot
dot(a, b, out=None) Dot product of two arrays. Specifically, - If both `a` and `b` are 1-D arrays, it is inner product of vectors
source/predictive_maintenance/numpy/core/multiarray.py:694
↓ 7 callersMethoddtype
(self)
source/predictive_maintenance/pandas/core/internals/concat.py:127
↓ 7 callersFunctionequal
Return (x1 == x2) element-wise. Unlike `numpy.equal`, this comparison is performed by first stripping whitespace characters from the end
source/predictive_maintenance/numpy/core/defchararray.py:110
↓ 7 callersFunctionextract_array
Extract the ndarray or ExtensionArray from a Series or Index. For all other types, `obj` is just returned as is. Parameters -------
source/predictive_maintenance/pandas/core/internals/arrays.py:7
↓ 7 callersMethodfactorize
(self, na_sentinel=-1)
source/predictive_maintenance/pandas/core/arrays/sparse.py:950
↓ 7 callersFunctionfadd
(line, s=fwrap)
source/predictive_maintenance/numpy/f2py/common_rules.py:56
↓ 7 callersFunctionfill_diagonal
Fill the main diagonal of the given array of any dimensionality. For an array `a` with ``a.ndim >= 2``, the diagonal is the list of locations
source/predictive_maintenance/numpy/lib/index_tricks.py:750
↓ 7 callersFunctionfilter_files
Filter files by prefix and suffix.
source/predictive_maintenance/numpy/f2py/f2py2e.py:464
↓ 7 callersFunctionfind_duplicates
Find the duplicates in a structured array along a given key Parameters ---------- a : array-like Input array key : {stri
source/predictive_maintenance/numpy/lib/recfunctions.py:1311
↓ 7 callersFunctionflipud
Flip array in the up/down direction. Flip the entries in each column in the up/down direction. Rows are preserved, but appear in a diffe
source/predictive_maintenance/numpy/lib/twodim_base.py:100
↓ 7 callersFunctionfromarrays
Creates a mrecarray from a (flat) list of masked arrays. Parameters ---------- arraylist : sequence A list of (masked) array
source/predictive_maintenance/numpy/ma/mrecords.py:510
↓ 7 callersMethodget
(self, i)
source/predictive_maintenance/pandas/core/strings.py:2511
↓ 7 callersFunctionget_datevalue
(date, freq)
source/predictive_maintenance/pandas/plotting/_converter.py:256
↓ 7 callersMethodget_loc
Get integer location, slice or boolean mask for requested label. Parameters ---------- key : label method :
source/predictive_maintenance/pandas/core/indexes/category.py:401
↓ 7 callersMethodget_loc_level
Get both the location for the requested label(s) and the resulting sliced index. Parameters ---------- key :
source/predictive_maintenance/pandas/core/indexes/multi.py:2438
↓ 7 callersMethodget_op_from_name
(self, op_name)
source/predictive_maintenance/pandas/tests/extension/base/ops.py:13
↓ 7 callersFunctionget_shared_lib_extension
Return the correct file extension for shared libraries. Parameters ---------- is_python_ext : bool, optional Whether the shared l
source/predictive_maintenance/numpy/distutils/misc_util.py:649
↓ 7 callersMethodget_values
Return the values. For internal compatibility with pandas formatting. Returns ------- values : numpy array
source/predictive_maintenance/pandas/core/arrays/categorical.py:1486
↓ 7 callersFunctiongetargspec
Get the names and default values of a function's arguments. A tuple of four things is returned: (args, varargs, varkw, defaults). 'args' is a
source/predictive_maintenance/numpy/compat/_inspect.py:98
↓ 7 callersFunctiongreater_equal
Return (x1 >= x2) element-wise. Unlike `numpy.greater_equal`, this comparison is performed by first stripping whitespace characters from
source/predictive_maintenance/numpy/core/defchararray.py:162
↓ 7 callersFunctionhermevander
Pseudo-Vandermonde matrix of given degree. Returns the pseudo-Vandermonde matrix of degree `deg` and sample points `x`. The pseudo-Vandermond
source/predictive_maintenance/numpy/polynomial/hermite_e.py:1175
↓ 7 callersFunctionhermvander
Pseudo-Vandermonde matrix of given degree. Returns the pseudo-Vandermonde matrix of degree `deg` and sample points `x`. The pseudo-Vandermond
source/predictive_maintenance/numpy/polynomial/hermite.py:1181
↓ 7 callersFunctionhstack
Stack arrays in sequence horizontally (column wise). This is equivalent to concatenation along the second axis, except for 1-D arrays wh
source/predictive_maintenance/numpy/core/shape_base.py:287
↓ 7 callersFunctionimag
Return the imaginary part of the complex argument. Parameters ---------- val : array_like Input array. Returns ----
source/predictive_maintenance/numpy/lib/type_check.py:171
↓ 7 callersFunctionis_string_like
Check if the object is a string. Parameters ---------- obj : The object to check Examples -------- >>> is_string_like("
source/predictive_maintenance/pandas/core/dtypes/inference.py:70
↓ 7 callersFunctionis_unsigned_integer_dtype
Check whether the provided array or dtype is of an unsigned integer dtype. .. versionchanged:: 0.24.0 The nullable Integer dtypes (e
source/predictive_maintenance/pandas/core/dtypes/common.py:980
↓ 7 callersMethodistitle
Returns true for each element if the element is a titlecased string and there is at least one character, false otherwise. Se
source/predictive_maintenance/numpy/core/defchararray.py:2332
↓ 7 callersMethodisupper
Returns true for each element if all cased characters in the string are uppercase and there is at least one character, false
source/predictive_maintenance/numpy/core/defchararray.py:2344
↓ 7 callersFunctionlagvander
Pseudo-Vandermonde matrix of given degree. Returns the pseudo-Vandermonde matrix of degree `deg` and sample points `x`. The pseudo-Vandermond
source/predictive_maintenance/numpy/polynomial/laguerre.py:1181
↓ 7 callersFunctionlegvander
Pseudo-Vandermonde matrix of given degree. Returns the pseudo-Vandermonde matrix of degree `deg` and sample points `x`. The pseudo-Vandermond
source/predictive_maintenance/numpy/polynomial/legendre.py:1224
↓ 7 callersFunctionmasked_not_equal
Mask an array where `not` equal to a given value. This function is a shortcut to ``masked_where``, with `condition` = (x != value).
source/predictive_maintenance/numpy/ma/core.py:2054
↓ 7 callersFunctionmaybe_infer_dtype_type
Try to infer an object's dtype, for use in arithmetic ops Uses `element.dtype` if that's available. Objects implementing the iterator protoco
source/predictive_maintenance/pandas/core/dtypes/cast.py:473
↓ 7 callersFunctionnested_to_record
A simplified json_normalize. Converts a nested dict into a flat dict ("record"), unlike json_normalize, it does not attempt to extract a
source/predictive_maintenance/pandas/io/json/normalize.py:28
↓ 7 callersFunctionnonzero
Return the indices of the elements that are non-zero. Returns a tuple of arrays, one for each dimension of `a`, containing the indices o
source/predictive_maintenance/numpy/core/fromnumeric.py:1695
↓ 7 callersFunctionnp_array_datetime64_compat
provide compat for construction of an array of strings to a np.array(..., dtype=np.datetime64(..)) tz-changes in 1.11 that make '2015-01-
source/predictive_maintenance/pandas/compat/numpy/__init__.py:49
↓ 7 callersFunctionpandasSQL_builder
Convenience function to return the correct PandasSQL subclass based on the provided parameters.
source/predictive_maintenance/pandas/io/sql.py:508
↓ 7 callersFunctionparse_dates_safe
(dates, delta=False, year=False, days=False)
source/predictive_maintenance/pandas/io/stata.py:384
↓ 7 callersFunctionparse_flags
Parse a line from a config file containing compile flags. Parameters ---------- line : str A single line containing one or m
source/predictive_maintenance/numpy/distutils/npy_pkg_config.py:36
↓ 7 callersFunctionplace
Change elements of an array based on conditional and input values. Similar to ``np.copyto(arr, vals, where=mask)``, the difference is that
source/predictive_maintenance/numpy/lib/function_base.py:1685
↓ 7 callersFunctionpolysub
Subtract one polynomial from another. Returns the difference of two polynomials `c1` - `c2`. The arguments are sequences of coefficient
source/predictive_maintenance/numpy/polynomial/polynomial.py:252
↓ 7 callersFunctionpolyvander
Vandermonde matrix of given degree. Returns the Vandermonde matrix of degree `deg` and sample points `x`. The Vandermonde matrix is defined b
source/predictive_maintenance/numpy/polynomial/polynomial.py:1110
↓ 7 callersMethodprod
Return the product of the array elements over the given axis. Refer to `prod` for full documentation. See Also ----
source/predictive_maintenance/numpy/matrixlib/defmatrix.py:517
↓ 7 callersMethodread
(self, **kwargs)
source/predictive_maintenance/pandas/io/pytables.py:2439
↓ 7 callersMethodreader
(path)
source/predictive_maintenance/pandas/tests/io/test_pytables.py:4379
↓ 7 callersFunctionreal
Return the real part of the complex argument. Parameters ---------- val : array_like Input array. Returns -------
source/predictive_maintenance/numpy/lib/type_check.py:125
↓ 7 callersMethodreindex_axis
(self, labels, axis=0, method=None, level=None, copy=True, limit=None, fill_value=np.nan)
source/predictive_maintenance/pandas/core/panel.py:1263
↓ 7 callersMethodremove_categories
Removes the specified categories. `removals` must be included in the old categories. Values which were in the removed catego
source/predictive_maintenance/pandas/core/arrays/categorical.py:1044
↓ 7 callersMethodrindex
(self, sub, start=0, end=None)
source/predictive_maintenance/pandas/core/strings.py:2866
↓ 7 callersFunctionsafe_import
Parameters: ----------- mod_name : str Name of the module to be imported min_version : str, default None Minimum requ
source/predictive_maintenance/pandas/util/_test_decorators.py:39
↓ 7 callersFunctionsafe_remove
(path)
source/predictive_maintenance/pandas/tests/io/test_pytables.py:57
↓ 7 callersFunctionsetdiff1d
Find the set difference of two arrays. Return the unique values in `ar1` that are not in `ar2`. Parameters ---------- ar1 : arr
source/predictive_maintenance/numpy/lib/arraysetops.py:746
↓ 7 callersFunctionsetxor1d
Find the set exclusive-or of two arrays. Return the sorted, unique values that are in only one (not both) of the input arrays. Para
source/predictive_maintenance/numpy/lib/arraysetops.py:438
↓ 7 callersMethodshift
(self, periods=1, freq=None, axis=0, fill_value=None)
source/predictive_maintenance/pandas/core/frame.py:4045
↓ 7 callersFunctionsplit_by_unquoted
Splits the line into (line[:i], line[i:]), where i is the index of first occurrence of one of the characters not within quotes, or len(li
source/predictive_maintenance/numpy/f2py/crackfortran.py:612
↓ 7 callersFunctionstructured_to_unstructured
Converts and n-D structured array into an (n+1)-D unstructured array. The new array will have a new last dimension equal in size to the
source/predictive_maintenance/numpy/lib/recfunctions.py:898
↓ 7 callersMethodsum
Returns the sum of the matrix elements, along the given axis. Refer to `numpy.sum` for full documentation. See Also
source/predictive_maintenance/numpy/matrixlib/defmatrix.py:289
↓ 7 callersMethodto_dense
Convert SparseSeries to a Series. Returns ------- s : Series
source/predictive_maintenance/pandas/core/sparse/series.py:437
↓ 7 callersMethodto_msgpack
Serialize object to input file path using msgpack format. THIS IS AN EXPERIMENTAL LIBRARY and the storage format may not be
source/predictive_maintenance/pandas/core/generic.py:2379
↓ 7 callersMethodtodict
Return a dictionary compatible with the keyword arguments of distutils setup function. Examples -------- >>>
source/predictive_maintenance/numpy/distutils/misc_util.py:839
↓ 7 callersMethodtoflex
Transforms a masked array into a flexible-type array. The flexible type array that is returned will have two fields: * the
source/predictive_maintenance/numpy/ma/core.py:5949
↓ 7 callersMethodtzname
(self, dt)
source/predictive_maintenance/pandas/tests/indexes/datetimes/test_timezones.py:35
↓ 7 callersFunctionunconvert
(values, dtype, compress=None)
source/predictive_maintenance/pandas/io/packers.py:309
↓ 7 callersFunctionunique
Hash table-based unique. Uniques are returned in order of appearance. This does NOT sort. Significantly faster than numpy.unique. Includ
source/predictive_maintenance/pandas/core/algorithms.py:278
↓ 7 callersMethodupdate_dtype
Convert the SparseDtype to a new dtype. This takes care of converting the ``fill_value``. Parameters ----------
source/predictive_maintenance/pandas/core/arrays/sparse.py:289
↓ 7 callersFunctionvalidate_args
Checks whether the length of the `*args` argument passed into a function has at most `len(compat_args)` arguments and whether or not all of t
source/predictive_maintenance/pandas/util/_validators.py:72
↓ 7 callersFunctionvalidate_indices
Perform bounds-checking for an indexer. -1 is allowed for indicating missing values. Parameters ---------- indices : ndarray
source/predictive_maintenance/pandas/core/indexing.py:2619
↓ 7 callersMethodversion_match
(self, version_string)
source/predictive_maintenance/numpy/distutils/fcompiler/gnu.py:85
↓ 7 callersMethodwalk
Walk the pytables group hierarchy for pandas objects This generator will yield the group path, subgroups and pandas object names for
source/predictive_maintenance/pandas/io/pytables.py:1108
↓ 7 callersMethodwhere
Apply a function elementwise, updating the HTML representation with a style which is selected in accordance with the return v
source/predictive_maintenance/pandas/io/formats/style.py:650
← previousnext →1,401–1,500 of 27,130, ranked by callers