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

↓ 6,765 callersMethodarray
The ExtensionArray of the data backing this Series or Index. .. versionadded:: 0.24.0 Returns ------- array
source/predictive_maintenance/pandas/core/base.py:787
↓ 5,447 callersFunctionassert_equal
Raises an AssertionError if two objects are not equal. Given two objects (scalars, lists, tuples, dictionaries or numpy arrays), check t
source/predictive_maintenance/numpy/testing/_private/utils.py:294
↓ 3,583 callersFunctionassert_
Assert that works in release mode. Accepts callable msg to allow deferring evaluation until failure. The Python built-in ``assert`` does
source/predictive_maintenance/numpy/testing/_private/utils.py:79
↓ 3,024 callersMethodassert_frame_equal
(self, left, right, *args, **kwargs)
source/predictive_maintenance/pandas/tests/extension/json/test_json.py:90
↓ 2,384 callersMethodassert_series_equal
(self, left, right, **kwargs)
source/predictive_maintenance/pandas/tests/extension/json/test_json.py:81
↓ 2,039 callersFunctionassert_frame_equal
Check that left and right DataFrame are equal. This function is intended to compare two DataFrames and output any differences. Is is mos
source/predictive_maintenance/pandas/util/testing.py:1349
↓ 1,924 callersFunctionassert_raises
assert_raises(exception_class, callable, *args, **kwargs) assert_raises(exception_class) Fail unless an exception of class exception_cla
source/predictive_maintenance/numpy/testing/_private/utils.py:1267
↓ 1,886 callersFunctionassert_equal
Asserts that two items are equal.
source/predictive_maintenance/numpy/ma/testutils.py:110
↓ 1,606 callersMethodappend
Concatenate two or more Series. Parameters ---------- to_append : Series or list/tuple of Series ignore_inde
source/predictive_maintenance/pandas/core/series.py:2344
↓ 1,416 callersMethodformat
Render a string representation of the Index.
source/predictive_maintenance/pandas/core/indexes/base.py:983
↓ 1,366 callersFunctionassert_array_equal
Raises an AssertionError if two array_like objects are not equal. Given two array_like objects, check that the shape is equal and all el
source/predictive_maintenance/numpy/testing/_private/utils.py:838
↓ 1,341 callersFunctionassert_series_equal
Check that left and right Series are equal. Parameters ---------- left : Series right : Series check_dtype : bool, default True
source/predictive_maintenance/pandas/util/testing.py:1223
↓ 1,207 callersMethodcopy
(self, deep=False)
source/predictive_maintenance/pandas/tests/extension/json/array.py:153
↓ 1,087 callersMethodgroupby
Group data on given axis, returning GroupBy object. Parameters ---------- function : callable Mapping fu
source/predictive_maintenance/pandas/core/panel.py:906
↓ 1,046 callersFunctiondate_range
Return a fixed frequency DatetimeIndex. Parameters ---------- start : str or datetime-like, optional Left bound for generati
source/predictive_maintenance/pandas/core/indexes/datetimes.py:1379
↓ 991 callersMethoddtype
(self)
source/predictive_maintenance/numpy/ma/core.py:3350
↓ 989 callersMethodreshape
Give a new shape to the array without changing its data. Returns a masked array containing the same data, but with a new shape.
source/predictive_maintenance/numpy/ma/core.py:4542
↓ 822 callersMethodastype
(self, dtype, copy=True)
source/predictive_maintenance/pandas/tests/extension/json/array.py:156
↓ 767 callersFunctionassert_almost_equal
Raises an AssertionError if two items are not equal up to desired precision. .. note:: It is recommended to use one of `assert_allclose`
source/predictive_maintenance/numpy/testing/_private/utils.py:466
↓ 669 callersFunctionarray
Shortcut to MaskedArray. The options are in a different order for convenience and backwards compatibility.
source/predictive_maintenance/numpy/ma/core.py:6364
↓ 664 callersFunctionu
(s)
source/predictive_maintenance/pandas/compat/__init__.py:275
↓ 538 callersMethodastype
(self, typecode)
source/predictive_maintenance/numpy/lib/user_array.py:240
↓ 530 callersMethodmean
Exponential weighted moving average. Parameters ---------- *args, **kwargs Arguments and keyword argumen
source/predictive_maintenance/pandas/core/window.py:2315
↓ 527 callersMethodset_index
Set the DataFrame index using existing columns. Set the DataFrame index (row labels) using one or more existing columns or a
source/predictive_maintenance/pandas/core/frame.py:4049
↓ 517 callersMethodall
(self, axis=0, out=None)
source/predictive_maintenance/pandas/tests/extension/arrow/bool.py:143
↓ 508 callersMethodreindex
(self, *args, **kwargs)
source/predictive_maintenance/pandas/core/panel.py:1227
↓ 490 callersMethodsum
(self, *args, **kwargs)
source/predictive_maintenance/pandas/core/window.py:755
↓ 476 callersMethodapply
(self, other)
source/predictive_maintenance/pandas/tseries/offsets.py:1327
↓ 467 callersMethodfrom_tuples
Convert list of tuples to MultiIndex. Parameters ---------- tuples : list / sequence of tuple-likes Each
source/predictive_maintenance/pandas/core/indexes/multi.py:348
↓ 466 callersMethodjoin
Join items with other Panel either on major and minor axes column. Parameters ---------- other : Panel or list of Pa
source/predictive_maintenance/pandas/core/panel.py:1344
↓ 463 callersFunctionlrange
(*args, **kwargs)
source/predictive_maintenance/pandas/compat/__init__.py:125
↓ 448 callersMethodview
Return a view of the MaskedArray data Parameters ---------- dtype : data-type or ndarray sub-class, optional
source/predictive_maintenance/numpy/ma/core.py:3080
↓ 423 callersMethodread_csv
(self, *args, **kwargs)
source/predictive_maintenance/pandas/tests/io/parser/conftest.py:20
↓ 412 callersMethodwarn
(self, message)
source/predictive_maintenance/numpy/distutils/misc_util.py:862
↓ 393 callersMethodconcat
Concatenate a list of SingleBlockManagers into a single SingleBlockManager. Used for pd.concat of Series objects with axis=0
source/predictive_maintenance/pandas/core/internals/managers.py:1598
↓ 385 callersMethodcopy
Copy is a no-op on the maskedconstant, as it is a scalar
source/predictive_maintenance/numpy/ma/core.py:6335
↓ 383 callersMethodresample
Resample time-series data. Convenience method for frequency conversion and resampling of time series. Object must have a dat
source/predictive_maintenance/pandas/core/generic.py:7862
↓ 378 callersMethodtake
(self, indexer, allow_fill=False, fill_value=None)
source/predictive_maintenance/pandas/tests/extension/json/array.py:126
↓ 369 callersMethodtimedelta64
(*args)
source/predictive_maintenance/pandas/tests/arithmetic/test_datetime64.py:2121
↓ 361 callersMethodplot
Plot left / right DataFrames in specified layout. Parameters ---------- left : list of DataFrames before operation i
source/predictive_maintenance/pandas/util/_doctools.py:45
↓ 358 callersMethodasfreq
Convert TimeSeries to specified frequency. Optionally provide filling method to pad/backfill missing values. Returns the or
source/predictive_maintenance/pandas/core/generic.py:7634
↓ 348 callersMethodastype
(self, dtype, copy=False)
source/predictive_maintenance/pandas/tests/internals/test_internals.py:1198
↓ 334 callersFunctionisna
Detect missing values for an array-like object. This function takes a scalar or array-like object and indicates whether values are missi
source/predictive_maintenance/pandas/core/dtypes/missing.py:25
↓ 319 callersMethodformat
Format the text display value of cells. .. versionadded:: 0.18.0 Parameters ---------- formatter : str, cal
source/predictive_maintenance/pandas/io/formats/style.py:356
↓ 311 callersMethodequals
Test whether two objects contain the same elements. This function allows two Series or DataFrames to be compared against eac
source/predictive_maintenance/pandas/core/generic.py:1350
↓ 310 callersMethodempty
Indicator whether DataFrame is empty. True if DataFrame is entirely empty (no items), meaning any of the axes are of length
source/predictive_maintenance/pandas/core/generic.py:1849
↓ 301 callersMethodwhere
(self, cond, other=np.nan, inplace=False, axis=None, level=None, errors='raise', try_cast=False,
source/predictive_maintenance/pandas/core/generic.py:8818
↓ 300 callersMethodto_sparse
NOT IMPLEMENTED: do not call this method, as sparsifying is not supported for Panel objects and will raise an error. Convert
source/predictive_maintenance/pandas/core/panel.py:406
↓ 284 callersMethodtz_localize
Localize tz-naive index of a Series or DataFrame to target time zone. This operation localizes the Index. To localize the values in
source/predictive_maintenance/pandas/core/generic.py:9249
↓ 282 callersMethodget
Get item from object for given key (DataFrame column, Panel slice, etc.). Returns default value if not found. Parameters
source/predictive_maintenance/pandas/core/generic.py:3035
↓ 278 callersMethodrolling
(self, window, min_periods=None, center=False, win_type=None, on=None, axis=0, closed=None
source/predictive_maintenance/pandas/core/generic.py:10141
↓ 264 callersMethodreplace
(self, to_replace=None, value=None, inplace=False, limit=None, regex=False, method='pad')
source/predictive_maintenance/pandas/core/series.py:3841
↓ 263 callersMethodmedian
(self, **kwargs)
source/predictive_maintenance/pandas/core/window.py:1732
↓ 262 callersMethodjoin
Return a string which is the concatenation of the strings in the sequence `seq`. See also -------- char.join
source/predictive_maintenance/numpy/core/defchararray.py:2357
↓ 259 callersFunctionadd_newdoc
Adds documentation to obj which is in module place. If doc is a string add it to obj as a docstring If doc is a tuple, then the first e
source/predictive_maintenance/numpy/core/function_base.py:431
↓ 259 callersMethodassert_equal
(a, b)
source/predictive_maintenance/pandas/tests/indexing/multiindex/test_setitem.py:22
↓ 251 callersMethodjoin
(argv)
source/predictive_maintenance/numpy/distutils/_shell_utils.py:80
↓ 251 callersFunctionopen
Open `path` with `mode` and return the file object. If ``path`` is an URL, it will be downloaded, stored in the `DataSource` `destpath`
source/predictive_maintenance/numpy/lib/_datasource.py:228
↓ 250 callersMethodfrom_arrays
Convert arrays to MultiIndex. Parameters ---------- arrays : list / sequence of array-likes Each array-l
source/predictive_maintenance/pandas/core/indexes/multi.py:293
↓ 248 callersMethodpop
Return item and drop from frame. Raise KeyError if not found. Parameters ---------- item : str Column la
source/predictive_maintenance/pandas/core/generic.py:768
↓ 247 callersFunctionperiod_range
Return a fixed frequency PeriodIndex, with day (calendar) as the default frequency Parameters ---------- start : string or perio
source/predictive_maintenance/pandas/core/indexes/period.py:905
↓ 241 callersFunctionconcat
Concatenate pandas objects along a particular axis with optional set logic along the other axes. Can also add a layer of hierarchical in
source/predictive_maintenance/pandas/core/reshape/concat.py:24
↓ 234 callersMethodfillna
(self, value=None, method=None, axis=None, inplace=False, limit=None, downcast=None, **kwargs)
source/predictive_maintenance/pandas/core/panel.py:1291
↓ 234 callersMethodselect
Return data corresponding to axis labels matching criteria. .. deprecated:: 0.21.0 Use df.loc[df.index.map(crit)] to sel
source/predictive_maintenance/pandas/core/generic.py:3623
↓ 234 callersMethodstartswith
Returns a boolean array which is `True` where the string element in `self` starts with `prefix`, otherwise `False`. See also
source/predictive_maintenance/numpy/core/defchararray.py:2522
↓ 230 callersFunction_check_plot_works
(f, filterwarnings='always', **kwargs)
source/predictive_maintenance/pandas/tests/plotting/common.py:508
↓ 225 callersMethoditeritems
Lazily iterate over (index, value) tuples.
source/predictive_maintenance/pandas/core/series.py:1446
↓ 222 callersMethodall
Returns True if all elements evaluate to True. The output array is masked where all the values along the given axis are mask
source/predictive_maintenance/numpy/ma/core.py:4740
↓ 222 callersMethodrepeat
Repeat elements of a Series. Returns a new Series where each element of the current Series is repeated consecutively a given
source/predictive_maintenance/pandas/core/series.py:1104
↓ 221 callersMethodsort_index
Sort Series by index labels. Returns a new Series sorted by label if `inplace` argument is ``False``, otherwise updates the
source/predictive_maintenance/pandas/core/series.py:2833
↓ 217 callersMethodtolist
Return a list of the values. These are each a scalar type, which is a Python scalar (for str, int, float) or a pandas scalar
source/predictive_maintenance/pandas/core/base.py:1096
↓ 216 callersMethodsplit
(self, pat=None, n=-1, expand=False)
source/predictive_maintenance/pandas/core/strings.py:2391
↓ 214 callersMethodfrom_product
Make a MultiIndex from the cartesian product of multiple iterables. Parameters ---------- iterables : list / sequenc
source/predictive_maintenance/pandas/core/indexes/multi.py:405
↓ 212 callersMethodappend
Append to Table in file. Node must already exist and be Table format. Parameters ---------- key : object
source/predictive_maintenance/pandas/io/pytables.py:941
↓ 209 callersFunctionf
(x)
source/predictive_maintenance/numpy/polynomial/tests/test_classes.py:138
↓ 205 callersFunctionassert_array_almost_equal
Raises an AssertionError if two objects are not equal up to desired precision. .. note:: It is recommended to use one of `assert_allclos
source/predictive_maintenance/numpy/testing/_private/utils.py:907
↓ 200 callersMethodclose
close io if necessary
source/predictive_maintenance/pandas/io/excel.py:728
↓ 197 callersFunctionjoin
Return a string which is the concatenation of the strings in the sequence `seq`. Calls `str.join` element-wise. Parameters ----
source/predictive_maintenance/numpy/core/defchararray.py:947
↓ 192 callersMethodget_loc
(self, key, method=None, tolerance=None)
source/predictive_maintenance/pandas/core/indexes/base.py:2651
↓ 192 callersMethoditems
iterate on key->group
source/predictive_maintenance/pandas/io/pytables.py:557
↓ 192 callersMethodsort_values
NOT IMPLEMENTED: do not call this method, as sorting values is not supported for Panel objects and will raise an error.
source/predictive_maintenance/pandas/core/panel.py:1571
↓ 191 callersFunctionto_datetime
Convert argument to datetime. Parameters ---------- arg : integer, float, string, datetime, list, tuple, 1-d array, Series
source/predictive_maintenance/pandas/core/tools/datetimes.py:401
↓ 189 callersFunctioneq
(v, w, msg='')
source/predictive_maintenance/numpy/ma/tests/test_old_ma.py:29
↓ 188 callersMethodappend
Append a collection of Index options together. Parameters ---------- other : Index or list/tuple of indices
source/predictive_maintenance/pandas/core/indexes/base.py:3988
↓ 187 callersFunctionis_list_like
Check if the object is list-like. Objects that are considered list-like are for example Python lists, tuples, sets, NumPy arrays, and Pa
source/predictive_maintenance/pandas/core/dtypes/inference.py:253
↓ 183 callersMethodto_csv
(self, *args, **kwargs)
source/predictive_maintenance/pandas/core/series.py:4149
↓ 180 callersMethodshift
Shift index by desired number of periods with an optional time freq. The shifted data will not include the dropped periods and the
source/predictive_maintenance/pandas/core/panel.py:1317
↓ 180 callersMethodto_dense
Return dense representation of NDFrame (as opposed to sparse).
source/predictive_maintenance/pandas/core/generic.py:1919
↓ 177 callersMethoddecode
(self, encoding, errors="strict")
source/predictive_maintenance/pandas/core/strings.py:2651
↓ 177 callersMethodreset_index
Generate a new DataFrame or Series with the index reset. This is useful when the index needs to be treated as a column, or w
source/predictive_maintenance/pandas/core/series.py:1234
↓ 175 callersMethodmatch
(self, pat, case=True, flags=0, na=np.nan)
source/predictive_maintenance/pandas/core/strings.py:2527
↓ 174 callersMethodmax
(self, *args, **kwargs)
source/predictive_maintenance/pandas/core/window.py:1714
↓ 172 callersMethodravel
Returns a 1D version of self, as a view. Parameters ---------- order : {'C', 'F', 'A', 'K'}, optional Th
source/predictive_maintenance/numpy/ma/core.py:4496
↓ 171 callersFunctionassert_panel_equal
Check that left and right Panels are equal. Parameters ---------- left : Panel (or nd) right : Panel (or nd) check_dtype : bool,
source/predictive_maintenance/pandas/util/testing.py:1505
↓ 170 callersMethodencode
(self, encoding, errors="strict")
source/predictive_maintenance/pandas/core/strings.py:2656
↓ 169 callersMethodlinspace
Return x, y values at equally spaced points in domain. Returns the x, y values at `n` linearly spaced points across the domain. Here
source/predictive_maintenance/numpy/polynomial/_polybase.py:763
↓ 164 callersMethodseek
(self, offset)
source/predictive_maintenance/pandas/tests/io/test_html.py:1124
↓ 156 callersMethodany
Returns True if any value in the group is truthful, else False. Parameters ---------- skipna : bool, default True
source/predictive_maintenance/pandas/core/groupby/groupby.py:1048
↓ 155 callersMethodreduce
Reduce target along the given axis.
source/predictive_maintenance/numpy/ma/core.py:6464
↓ 152 callersMethodeval
(self, *args, **kwargs)
source/predictive_maintenance/pandas/tests/computation/test_eval.py:1636
next →1–100 of 27,130, ranked by callers