Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/predictive-maintenance-using-machine-learning
/ functions
Functions
27,130 in github.com/awslabs/predictive-maintenance-using-machine-learning
⨍
Functions
27,130
◇
Types & classes
2,710
↳
Endpoints
447
↓ 7 callers
Function
allow
(attr)
source/predictive_maintenance/numpy/distutils/ccompiler.py:391
↓ 7 callers
Function
append_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 callers
Method
apply
(self, func, *args, **kwargs)
source/predictive_maintenance/pandas/core/groupby/generic.py:748
↓ 7 callers
Method
apply_index
(self, i)
source/predictive_maintenance/pandas/tseries/offsets.py:1341
↓ 7 callers
Method
arr_equal
(self, arr1, arr2)
source/predictive_maintenance/numpy/f2py/tests/test_array_from_pyobj.py:276
↓ 7 callers
Function
arrays_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 callers
Method
as_latex
(self, obj)
source/predictive_maintenance/numpy/polynomial/tests/test_classes.py:569
↓ 7 callers
Method
as_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 callers
Method
asfreq
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 callers
Function
assert_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 callers
Function
assert_resolves
(css, props, inherited=None)
source/predictive_maintenance/pandas/tests/io/formats/test_css.py:8
↓ 7 callers
Function
assert_shapes_correct
(input_shapes, expected_shape)
source/predictive_maintenance/numpy/lib/tests/test_stride_tricks.py:13
↓ 7 callers
Method
astype
(self, dtype, copy=True)
source/predictive_maintenance/pandas/core/arrays/datetimes.py:615
↓ 7 callers
Method
astype
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 callers
Function
astype_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 callers
Method
background_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 callers
Function
bmat
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 callers
Function
broadcast_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 callers
Method
check_error_on_write
(self, df, exc)
source/predictive_maintenance/pandas/tests/io/test_feather.py:22
↓ 7 callers
Method
check_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 callers
Method
check_qr
(self, a)
source/predictive_maintenance/numpy/linalg/tests/test_linalg.py:1574
↓ 7 callers
Method
check_results
(self, holiday, start, end, expected)
source/predictive_maintenance/pandas/tests/tseries/test_holiday.py:91
↓ 7 callers
Method
check_round_trip
(self, df, expected=None, **kwargs)
source/predictive_maintenance/pandas/tests/io/test_feather.py:30
↓ 7 callers
Method
clone
(self, hook_handler)
source/predictive_maintenance/numpy/distutils/fcompiler/environment.py:82
↓ 7 callers
Method
close
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 callers
Method
consolidate
Join together blocks having same dtype Returns ------- y : BlockManager
source/predictive_maintenance/pandas/core/internals/managers.py:911
↓ 7 callers
Method
convert
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 callers
Method
corr
Compute correlation with `other` Series, excluding missing values. Parameters ---------- other : Series meth
source/predictive_maintenance/pandas/core/series.py:2068
↓ 7 callers
Function
customized_ccompiler
(plat=None, compiler=None)
source/predictive_maintenance/numpy/distutils/__init__.py:31
↓ 7 callers
Function
dadd
(line, s=doc)
source/predictive_maintenance/numpy/f2py/f90mod_rules.py:103
↓ 7 callers
Function
dict_append
(d, **kws)
source/predictive_maintenance/numpy/distutils/misc_util.py:2234
↓ 7 callers
Function
dot
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 callers
Method
dtype
(self)
source/predictive_maintenance/pandas/core/internals/concat.py:127
↓ 7 callers
Function
equal
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 callers
Function
extract_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 callers
Method
factorize
(self, na_sentinel=-1)
source/predictive_maintenance/pandas/core/arrays/sparse.py:950
↓ 7 callers
Function
fadd
(line, s=fwrap)
source/predictive_maintenance/numpy/f2py/common_rules.py:56
↓ 7 callers
Function
fill_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 callers
Function
filter_files
Filter files by prefix and suffix.
source/predictive_maintenance/numpy/f2py/f2py2e.py:464
↓ 7 callers
Function
find_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 callers
Function
flipud
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 callers
Function
fromarrays
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 callers
Method
get
(self, i)
source/predictive_maintenance/pandas/core/strings.py:2511
↓ 7 callers
Function
get_datevalue
(date, freq)
source/predictive_maintenance/pandas/plotting/_converter.py:256
↓ 7 callers
Method
get_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 callers
Method
get_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 callers
Method
get_op_from_name
(self, op_name)
source/predictive_maintenance/pandas/tests/extension/base/ops.py:13
↓ 7 callers
Function
get_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 callers
Method
get_values
Return the values. For internal compatibility with pandas formatting. Returns ------- values : numpy array
source/predictive_maintenance/pandas/core/arrays/categorical.py:1486
↓ 7 callers
Function
getargspec
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 callers
Function
greater_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 callers
Function
hermevander
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 callers
Function
hermvander
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 callers
Function
hstack
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 callers
Function
imag
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 callers
Function
is_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 callers
Function
is_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 callers
Method
istitle
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 callers
Method
isupper
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 callers
Function
lagvander
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 callers
Function
legvander
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 callers
Function
masked_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 callers
Function
maybe_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 callers
Function
nested_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 callers
Function
nonzero
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 callers
Function
np_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 callers
Function
pandasSQL_builder
Convenience function to return the correct PandasSQL subclass based on the provided parameters.
source/predictive_maintenance/pandas/io/sql.py:508
↓ 7 callers
Function
parse_dates_safe
(dates, delta=False, year=False, days=False)
source/predictive_maintenance/pandas/io/stata.py:384
↓ 7 callers
Function
parse_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 callers
Function
place
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 callers
Function
polysub
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 callers
Function
polyvander
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 callers
Method
prod
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 callers
Method
read
(self, **kwargs)
source/predictive_maintenance/pandas/io/pytables.py:2439
↓ 7 callers
Method
reader
(path)
source/predictive_maintenance/pandas/tests/io/test_pytables.py:4379
↓ 7 callers
Function
real
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 callers
Method
reindex_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 callers
Method
remove_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 callers
Method
rindex
(self, sub, start=0, end=None)
source/predictive_maintenance/pandas/core/strings.py:2866
↓ 7 callers
Function
safe_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 callers
Function
safe_remove
(path)
source/predictive_maintenance/pandas/tests/io/test_pytables.py:57
↓ 7 callers
Function
setdiff1d
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 callers
Function
setxor1d
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 callers
Method
shift
(self, periods=1, freq=None, axis=0, fill_value=None)
source/predictive_maintenance/pandas/core/frame.py:4045
↓ 7 callers
Function
split_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 callers
Function
structured_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 callers
Method
sum
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 callers
Method
to_dense
Convert SparseSeries to a Series. Returns ------- s : Series
source/predictive_maintenance/pandas/core/sparse/series.py:437
↓ 7 callers
Method
to_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 callers
Method
todict
Return a dictionary compatible with the keyword arguments of distutils setup function. Examples -------- >>>
source/predictive_maintenance/numpy/distutils/misc_util.py:839
↓ 7 callers
Method
toflex
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 callers
Method
tzname
(self, dt)
source/predictive_maintenance/pandas/tests/indexes/datetimes/test_timezones.py:35
↓ 7 callers
Function
unconvert
(values, dtype, compress=None)
source/predictive_maintenance/pandas/io/packers.py:309
↓ 7 callers
Function
unique
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 callers
Method
update_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 callers
Function
validate_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 callers
Function
validate_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 callers
Method
version_match
(self, version_string)
source/predictive_maintenance/numpy/distutils/fcompiler/gnu.py:85
↓ 7 callers
Method
walk
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 callers
Method
where
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
← previous
next →
1,401–1,500 of 27,130, ranked by callers