\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 1- Packages\n",
"\n",
"\n",
"\n",
"Python has a large standard library, commonly cited as one of Python's greatest strengths, providing tools suited to many tasks. As of May, 2017, the official repository containing third-party software for Python, contains over 107,000 packages.\n",
"\n",
"A *package* is a collection of *modules* i.e. groups of functions, classes, constants, types, etc."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Built-in modules\n",
"\n",
"To use a module, you have to *import* it using the command `import`."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import math"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can now use it in the code by using its name as a prefix. "
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"1.0\n"
]
}
],
"source": [
"x = math.cos(2 * math.pi)\n",
"\n",
"print(x)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To explore the function and other content of the module/library:\n",
" * Use the web documentation (e.g. for the `math` library Doc for Python 3)\n",
" * Use the built-in`help`"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Help on built-in module math:\n",
"\n",
"NAME\n",
" math\n",
"\n",
"DESCRIPTION\n",
" This module provides access to the mathematical functions\n",
" defined by the C standard.\n",
"\n",
"FUNCTIONS\n",
" acos(x, /)\n",
" Return the arc cosine (measured in radians) of x.\n",
" \n",
" acosh(x, /)\n",
" Return the inverse hyperbolic cosine of x.\n",
" \n",
" asin(x, /)\n",
" Return the arc sine (measured in radians) of x.\n",
" \n",
" asinh(x, /)\n",
" Return the inverse hyperbolic sine of x.\n",
" \n",
" atan(x, /)\n",
" Return the arc tangent (measured in radians) of x.\n",
" \n",
" atan2(y, x, /)\n",
" Return the arc tangent (measured in radians) of y/x.\n",
" \n",
" Unlike atan(y/x), the signs of both x and y are considered.\n",
" \n",
" atanh(x, /)\n",
" Return the inverse hyperbolic tangent of x.\n",
" \n",
" ceil(x, /)\n",
" Return the ceiling of x as an Integral.\n",
" \n",
" This is the smallest integer >= x.\n",
" \n",
" comb(n, k, /)\n",
" Number of ways to choose k items from n items without repetition and without order.\n",
" \n",
" Evaluates to n! / (k! * (n - k)!) when k <= n and evaluates\n",
" to zero when k > n.\n",
" \n",
" Also called the binomial coefficient because it is equivalent\n",
" to the coefficient of k-th term in polynomial expansion of the\n",
" expression (1 + x)**n.\n",
" \n",
" Raises TypeError if either of the arguments are not integers.\n",
" Raises ValueError if either of the arguments are negative.\n",
" \n",
" copysign(x, y, /)\n",
" Return a float with the magnitude (absolute value) of x but the sign of y.\n",
" \n",
" On platforms that support signed zeros, copysign(1.0, -0.0)\n",
" returns -1.0.\n",
" \n",
" cos(x, /)\n",
" Return the cosine of x (measured in radians).\n",
" \n",
" cosh(x, /)\n",
" Return the hyperbolic cosine of x.\n",
" \n",
" degrees(x, /)\n",
" Convert angle x from radians to degrees.\n",
" \n",
" dist(p, q, /)\n",
" Return the Euclidean distance between two points p and q.\n",
" \n",
" The points should be specified as sequences (or iterables) of\n",
" coordinates. Both inputs must have the same dimension.\n",
" \n",
" Roughly equivalent to:\n",
" sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))\n",
" \n",
" erf(x, /)\n",
" Error function at x.\n",
" \n",
" erfc(x, /)\n",
" Complementary error function at x.\n",
" \n",
" exp(x, /)\n",
" Return e raised to the power of x.\n",
" \n",
" expm1(x, /)\n",
" Return exp(x)-1.\n",
" \n",
" This function avoids the loss of precision involved in the direct evaluation of exp(x)-1 for small x.\n",
" \n",
" fabs(x, /)\n",
" Return the absolute value of the float x.\n",
" \n",
" factorial(x, /)\n",
" Find x!.\n",
" \n",
" Raise a ValueError if x is negative or non-integral.\n",
" \n",
" floor(x, /)\n",
" Return the floor of x as an Integral.\n",
" \n",
" This is the largest integer <= x.\n",
" \n",
" fmod(x, y, /)\n",
" Return fmod(x, y), according to platform C.\n",
" \n",
" x % y may differ.\n",
" \n",
" frexp(x, /)\n",
" Return the mantissa and exponent of x, as pair (m, e).\n",
" \n",
" m is a float and e is an int, such that x = m * 2.**e.\n",
" If x is 0, m and e are both 0. Else 0.5 <= abs(m) < 1.0.\n",
" \n",
" fsum(seq, /)\n",
" Return an accurate floating point sum of values in the iterable seq.\n",
" \n",
" Assumes IEEE-754 floating point arithmetic.\n",
" \n",
" gamma(x, /)\n",
" Gamma function at x.\n",
" \n",
" gcd(x, y, /)\n",
" greatest common divisor of x and y\n",
" \n",
" hypot(...)\n",
" hypot(*coordinates) -> value\n",
" \n",
" Multidimensional Euclidean distance from the origin to a point.\n",
" \n",
" Roughly equivalent to:\n",
" sqrt(sum(x**2 for x in coordinates))\n",
" \n",
" For a two dimensional point (x, y), gives the hypotenuse\n",
" using the Pythagorean theorem: sqrt(x*x + y*y).\n",
" \n",
" For example, the hypotenuse of a 3/4/5 right triangle is:\n",
" \n",
" >>> hypot(3.0, 4.0)\n",
" 5.0\n",
" \n",
" isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0)\n",
" Determine whether two floating point numbers are close in value.\n",
" \n",
" rel_tol\n",
" maximum difference for being considered \"close\", relative to the\n",
" magnitude of the input values\n",
" abs_tol\n",
" maximum difference for being considered \"close\", regardless of the\n",
" magnitude of the input values\n",
" \n",
" Return True if a is close in value to b, and False otherwise.\n",
" \n",
" For the values to be considered close, the difference between them\n",
" must be smaller than at least one of the tolerances.\n",
" \n",
" -inf, inf and NaN behave similarly to the IEEE 754 Standard. That\n",
" is, NaN is not close to anything, even itself. inf and -inf are\n",
" only close to themselves.\n",
" \n",
" isfinite(x, /)\n",
" Return True if x is neither an infinity nor a NaN, and False otherwise.\n",
" \n",
" isinf(x, /)\n",
" Return True if x is a positive or negative infinity, and False otherwise.\n",
" \n",
" isnan(x, /)\n",
" Return True if x is a NaN (not a number), and False otherwise.\n",
" \n",
" isqrt(n, /)\n",
" Return the integer part of the square root of the input.\n",
" \n",
" ldexp(x, i, /)\n",
" Return x * (2**i).\n",
" \n",
" This is essentially the inverse of frexp().\n",
" \n",
" lgamma(x, /)\n",
" Natural logarithm of absolute value of Gamma function at x.\n",
" \n",
" log(...)\n",
" log(x, [base=math.e])\n",
" Return the logarithm of x to the given base.\n",
" \n",
" If the base not specified, returns the natural logarithm (base e) of x.\n",
" \n",
" log10(x, /)\n",
" Return the base 10 logarithm of x.\n",
" \n",
" log1p(x, /)\n",
" Return the natural logarithm of 1+x (base e).\n",
" \n",
" The result is computed in a way which is accurate for x near zero.\n",
" \n",
" log2(x, /)\n",
" Return the base 2 logarithm of x.\n",
" \n",
" modf(x, /)\n",
" Return the fractional and integer parts of x.\n",
" \n",
" Both results carry the sign of x and are floats.\n",
" \n",
" perm(n, k=None, /)\n",
" Number of ways to choose k items from n items without repetition and with order.\n",
" \n",
" Evaluates to n! / (n - k)! when k <= n and evaluates\n",
" to zero when k > n.\n",
" \n",
" If k is not specified or is None, then k defaults to n\n",
" and the function returns n!.\n",
" \n",
" Raises TypeError if either of the arguments are not integers.\n",
" Raises ValueError if either of the arguments are negative.\n",
" \n",
" pow(x, y, /)\n",
" Return x**y (x to the power of y).\n",
" \n",
" prod(iterable, /, *, start=1)\n",
" Calculate the product of all the elements in the input iterable.\n",
" \n",
" The default start value for the product is 1.\n",
" \n",
" When the iterable is empty, return the start value. This function is\n",
" intended specifically for use with numeric values and may reject\n",
" non-numeric types.\n",
" \n",
" radians(x, /)\n",
" Convert angle x from degrees to radians.\n",
" \n",
" remainder(x, y, /)\n",
" Difference between x and the closest integer multiple of y.\n",
" \n",
" Return x - n*y where n*y is the closest integer multiple of y.\n",
" In the case where x is exactly halfway between two multiples of\n",
" y, the nearest even value of n is used. The result is always exact.\n",
" \n",
" sin(x, /)\n",
" Return the sine of x (measured in radians).\n",
" \n",
" sinh(x, /)\n",
" Return the hyperbolic sine of x.\n",
" \n",
" sqrt(x, /)\n",
" Return the square root of x.\n",
" \n",
" tan(x, /)\n",
" Return the tangent of x (measured in radians).\n",
" \n",
" tanh(x, /)\n",
" Return the hyperbolic tangent of x.\n",
" \n",
" trunc(x, /)\n",
" Truncates the Real x to the nearest Integral toward 0.\n",
" \n",
" Uses the __trunc__ magic method.\n",
"\n",
"DATA\n",
" e = 2.718281828459045\n",
" inf = inf\n",
" nan = nan\n",
" pi = 3.141592653589793\n",
" tau = 6.283185307179586\n",
"\n",
"FILE\n",
" (built-in)\n",
"\n",
"\n"
]
}
],
"source": [
"help(math)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Help on built-in function sqrt in module math:\n",
"\n",
"sqrt(x, /)\n",
" Return the square root of x.\n",
"\n"
]
}
],
"source": [
"help(math.sqrt)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Using the name prefix can make the code obfuscated as it can get quite verbose (e.g. `scipy.optimize.minimize`) so Python provides simpler ways to import:\n",
"* `import name as nickname`: the prefix to call is now `nickname`"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"3.141592653589793\n"
]
}
],
"source": [
"import math as m\n",
"\n",
"print(m.pi)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"* `from name import function1,constant1` : `function1` `constant1` can now be called directly. You can even import all contents with `from name import *` but this may be dangerous as names may conflict or override former ones, it is thus not advised except on user-generated modules."
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"4.0\n"
]
}
],
"source": [
"from math import e,log\n",
"\n",
"print(log(e**4))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"## Installing packages\n",
"\n",
"\n",
"Python comes with a lot a lot of packages (ie. functions and small programs), provided by the community. To install a package `SomePackage`, the recommended way is know to use `pip` :\n",
"\n",
"`python -m pip install SomePackage` or simply `pip install SomePackage`\n",
"\n",
"\n",
"See https://docs.python.org/3.9/installing/index.html for details on installing packages (and if you do not have `pip` installed, see https://packaging.python.org/tutorials/installing-packages/#requirements-for-installing-packages )\n",
"\n",
"\n",
"*Warning:* this is the preferred way, however:\n",
"* if you are using Anaconda, it is preferrable to install packages directly using the Anaconda interface, see https://docs.anaconda.com/anaconda/navigator/tutorials/manage-packages/ \n",
"* If you don't have administrator rights on the machine (eg. at university), use `pip --user install SomePackage` to install a package locally."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Once installed, you can import the packages as above. "
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"import scipy"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Help on package scipy:\n",
"\n",
"NAME\n",
" scipy\n",
"\n",
"DESCRIPTION\n",
" SciPy: A scientific computing package for Python\n",
" ================================================\n",
" \n",
" Documentation is available in the docstrings and\n",
" online at https://docs.scipy.org.\n",
" \n",
" Contents\n",
" --------\n",
" SciPy imports all the functions from the NumPy namespace, and in\n",
" addition provides:\n",
" \n",
" Subpackages\n",
" -----------\n",
" Using any of these subpackages requires an explicit import. For example,\n",
" ``import scipy.cluster``.\n",
" \n",
" ::\n",
" \n",
" cluster --- Vector Quantization / Kmeans\n",
" fft --- Discrete Fourier transforms\n",
" fftpack --- Legacy discrete Fourier transforms\n",
" integrate --- Integration routines\n",
" interpolate --- Interpolation Tools\n",
" io --- Data input and output\n",
" linalg --- Linear algebra routines\n",
" linalg.blas --- Wrappers to BLAS library\n",
" linalg.lapack --- Wrappers to LAPACK library\n",
" misc --- Various utilities that don't have\n",
" another home.\n",
" ndimage --- N-D image package\n",
" odr --- Orthogonal Distance Regression\n",
" optimize --- Optimization Tools\n",
" signal --- Signal Processing Tools\n",
" signal.windows --- Window functions\n",
" sparse --- Sparse Matrices\n",
" sparse.linalg --- Sparse Linear Algebra\n",
" sparse.linalg.dsolve --- Linear Solvers\n",
" sparse.linalg.dsolve.umfpack --- :Interface to the UMFPACK library:\n",
" Conjugate Gradient Method (LOBPCG)\n",
" sparse.linalg.eigen --- Sparse Eigenvalue Solvers\n",
" sparse.linalg.eigen.lobpcg --- Locally Optimal Block Preconditioned\n",
" Conjugate Gradient Method (LOBPCG)\n",
" spatial --- Spatial data structures and algorithms\n",
" special --- Special functions\n",
" stats --- Statistical Functions\n",
" \n",
" Utility tools\n",
" -------------\n",
" ::\n",
" \n",
" test --- Run scipy unittests\n",
" show_config --- Show scipy build configuration\n",
" show_numpy_config --- Show numpy build configuration\n",
" __version__ --- SciPy version string\n",
" __numpy_version__ --- Numpy version string\n",
"\n",
"PACKAGE CONTENTS\n",
" __config__\n",
" _build_utils (package)\n",
" _distributor_init\n",
" _lib (package)\n",
" cluster (package)\n",
" conftest\n",
" constants (package)\n",
" fft (package)\n",
" fftpack (package)\n",
" integrate (package)\n",
" interpolate (package)\n",
" io (package)\n",
" linalg (package)\n",
" misc (package)\n",
" ndimage (package)\n",
" odr (package)\n",
" optimize (package)\n",
" setup\n",
" signal (package)\n",
" sparse (package)\n",
" spatial (package)\n",
" special (package)\n",
" stats (package)\n",
" version\n",
"\n",
"CLASSES\n",
" builtins.DeprecationWarning(builtins.Warning)\n",
" numpy.ModuleDeprecationWarning\n",
" builtins.IndexError(builtins.LookupError)\n",
" numpy.AxisError(builtins.ValueError, builtins.IndexError)\n",
" builtins.RuntimeError(builtins.Exception)\n",
" numpy.TooHardError\n",
" builtins.RuntimeWarning(builtins.Warning)\n",
" numpy.ComplexWarning\n",
" builtins.UserWarning(builtins.Warning)\n",
" numpy.RankWarning\n",
" numpy.VisibleDeprecationWarning\n",
" builtins.ValueError(builtins.Exception)\n",
" numpy.AxisError(builtins.ValueError, builtins.IndexError)\n",
" builtins.bytes(builtins.object)\n",
" numpy.bytes_(builtins.bytes, numpy.character)\n",
" builtins.object\n",
" numpy.DataSource\n",
" numpy.MachAr\n",
" numpy.broadcast\n",
" numpy.busdaycalendar\n",
" numpy.dtype\n",
" numpy.finfo\n",
" numpy.flatiter\n",
" numpy.format_parser\n",
" numpy.generic\n",
" numpy.bool_\n",
" numpy.datetime64\n",
" numpy.flexible\n",
" numpy.character\n",
" numpy.bytes_(builtins.bytes, numpy.character)\n",
" numpy.str_(builtins.str, numpy.character)\n",
" numpy.void\n",
" numpy.record\n",
" numpy.number\n",
" numpy.inexact\n",
" numpy.complexfloating\n",
" numpy.complex128(numpy.complexfloating, builtins.complex)\n",
" numpy.complex256\n",
" numpy.complex64\n",
" numpy.floating\n",
" numpy.float128\n",
" numpy.float16\n",
" numpy.float32\n",
" numpy.float64(numpy.floating, builtins.float)\n",
" numpy.integer\n",
" numpy.signedinteger\n",
" numpy.int16\n",
" numpy.int32\n",
" numpy.int64\n",
" numpy.int8\n",
" numpy.longlong\n",
" numpy.timedelta64\n",
" numpy.unsignedinteger\n",
" numpy.uint16\n",
" numpy.uint32\n",
" numpy.uint64\n",
" numpy.uint8\n",
" numpy.ulonglong\n",
" numpy.object_\n",
" numpy.iinfo\n",
" numpy.ndarray\n",
" numpy.chararray\n",
" numpy.matrix\n",
" numpy.memmap\n",
" numpy.recarray\n",
" numpy.ndenumerate\n",
" numpy.ndindex\n",
" numpy.nditer\n",
" numpy.poly1d\n",
" numpy.ufunc\n",
" numpy.vectorize\n",
" builtins.str(builtins.object)\n",
" numpy.str_(builtins.str, numpy.character)\n",
" contextlib.ContextDecorator(builtins.object)\n",
" numpy.errstate\n",
" \n",
" class AxisError(builtins.ValueError, builtins.IndexError)\n",
" | AxisError(axis, ndim=None, msg_prefix=None)\n",
" | \n",
" | Axis supplied was invalid.\n",
" | \n",
" | Method resolution order:\n",
" | AxisError\n",
" | builtins.ValueError\n",
" | builtins.IndexError\n",
" | builtins.LookupError\n",
" | builtins.Exception\n",
" | builtins.BaseException\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __init__(self, axis, ndim=None, msg_prefix=None)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.ValueError:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.BaseException:\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, name, value, /)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | with_traceback(...)\n",
" | Exception.with_traceback(tb) --\n",
" | set self.__traceback__ to tb and return self.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from builtins.BaseException:\n",
" | \n",
" | __cause__\n",
" | exception cause\n",
" | \n",
" | __context__\n",
" | exception context\n",
" | \n",
" | __dict__\n",
" | \n",
" | __suppress_context__\n",
" | \n",
" | __traceback__\n",
" | \n",
" | args\n",
" \n",
" class ComplexWarning(builtins.RuntimeWarning)\n",
" | The warning raised when casting a complex dtype to a real dtype.\n",
" | \n",
" | As implemented, casting a complex number to a real discards its imaginary\n",
" | part, but this behavior may not be what the user actually wants.\n",
" | \n",
" | Method resolution order:\n",
" | ComplexWarning\n",
" | builtins.RuntimeWarning\n",
" | builtins.Warning\n",
" | builtins.Exception\n",
" | builtins.BaseException\n",
" | builtins.object\n",
" | \n",
" | Data descriptors defined here:\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.RuntimeWarning:\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.RuntimeWarning:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.BaseException:\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, name, value, /)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | with_traceback(...)\n",
" | Exception.with_traceback(tb) --\n",
" | set self.__traceback__ to tb and return self.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from builtins.BaseException:\n",
" | \n",
" | __cause__\n",
" | exception cause\n",
" | \n",
" | __context__\n",
" | exception context\n",
" | \n",
" | __dict__\n",
" | \n",
" | __suppress_context__\n",
" | \n",
" | __traceback__\n",
" | \n",
" | args\n",
" \n",
" class DataSource(builtins.object)\n",
" | DataSource(destpath='.')\n",
" | \n",
" | DataSource(destpath='.')\n",
" | \n",
" | A generic data source file (file, http, ftp, ...).\n",
" | \n",
" | DataSources can be local files or remote files/URLs. The files may\n",
" | also be compressed or uncompressed. DataSource hides some of the\n",
" | low-level details of downloading the file, allowing you to simply pass\n",
" | in a valid file path (or URL) and obtain a file object.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | destpath : str or None, optional\n",
" | Path to the directory where the source file gets downloaded to for\n",
" | use. If `destpath` is None, a temporary directory will be created.\n",
" | The default path is the current directory.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | URLs require a scheme string (``http://``) to be used, without it they\n",
" | will fail::\n",
" | \n",
" | >>> repos = np.DataSource()\n",
" | >>> repos.exists('www.google.com/index.html')\n",
" | False\n",
" | >>> repos.exists('http://www.google.com/index.html')\n",
" | True\n",
" | \n",
" | Temporary directories are deleted when the DataSource is deleted.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | ::\n",
" | \n",
" | >>> ds = np.DataSource('/home/guido')\n",
" | >>> urlname = 'http://www.google.com/'\n",
" | >>> gfile = ds.open('http://www.google.com/')\n",
" | >>> ds.abspath(urlname)\n",
" | '/home/guido/www.google.com/index.html'\n",
" | \n",
" | >>> ds = np.DataSource(None) # use with temporary file\n",
" | >>> ds.open('/home/guido/foobar.txt')\n",
" | \n",
" | >>> ds.abspath('/home/guido/foobar.txt')\n",
" | '/tmp/.../home/guido/foobar.txt'\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __del__(self)\n",
" | \n",
" | __init__(self, destpath='.')\n",
" | Create a DataSource with a local path at destpath.\n",
" | \n",
" | abspath(self, path)\n",
" | Return absolute path of file in the DataSource directory.\n",
" | \n",
" | If `path` is an URL, then `abspath` will return either the location\n",
" | the file exists locally or the location it would exist when opened\n",
" | using the `open` method.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | path : str\n",
" | Can be a local file or a remote URL.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : str\n",
" | Complete path, including the `DataSource` destination directory.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The functionality is based on `os.path.abspath`.\n",
" | \n",
" | exists(self, path)\n",
" | Test if path exists.\n",
" | \n",
" | Test if `path` exists as (and in this order):\n",
" | \n",
" | - a local file.\n",
" | - a remote URL that has been downloaded and stored locally in the\n",
" | `DataSource` directory.\n",
" | - a remote URL that has not been downloaded, but is valid and\n",
" | accessible.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | path : str\n",
" | Can be a local file or a remote URL.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : bool\n",
" | True if `path` exists.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | When `path` is an URL, `exists` will return True if it's either\n",
" | stored locally in the `DataSource` directory, or is a valid remote\n",
" | URL. `DataSource` does not discriminate between the two, the file\n",
" | is accessible if it exists in either location.\n",
" | \n",
" | open(self, path, mode='r', encoding=None, newline=None)\n",
" | Open and return file-like object.\n",
" | \n",
" | If `path` is an URL, it will be downloaded, stored in the\n",
" | `DataSource` directory and opened from there.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | path : str\n",
" | Local file path or URL to open.\n",
" | mode : {'r', 'w', 'a'}, optional\n",
" | Mode to open `path`. Mode 'r' for reading, 'w' for writing,\n",
" | 'a' to append. Available modes depend on the type of object\n",
" | specified by `path`. Default is 'r'.\n",
" | encoding : {None, str}, optional\n",
" | Open text file with given encoding. The default encoding will be\n",
" | what `io.open` uses.\n",
" | newline : {None, str}, optional\n",
" | Newline to use when reading text file.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : file object\n",
" | File object.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class MachAr(builtins.object)\n",
" | MachAr(float_conv=, int_conv=, float_to_float=, float_to_str= at 0x7f99240989d0>, title='Python floating point number')\n",
" | \n",
" | Diagnosing machine parameters.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | ibeta : int\n",
" | Radix in which numbers are represented.\n",
" | it : int\n",
" | Number of base-`ibeta` digits in the floating point mantissa M.\n",
" | machep : int\n",
" | Exponent of the smallest (most negative) power of `ibeta` that,\n",
" | added to 1.0, gives something different from 1.0\n",
" | eps : float\n",
" | Floating-point number ``beta**machep`` (floating point precision)\n",
" | negep : int\n",
" | Exponent of the smallest power of `ibeta` that, subtracted\n",
" | from 1.0, gives something different from 1.0.\n",
" | epsneg : float\n",
" | Floating-point number ``beta**negep``.\n",
" | iexp : int\n",
" | Number of bits in the exponent (including its sign and bias).\n",
" | minexp : int\n",
" | Smallest (most negative) power of `ibeta` consistent with there\n",
" | being no leading zeros in the mantissa.\n",
" | xmin : float\n",
" | Floating point number ``beta**minexp`` (the smallest [in\n",
" | magnitude] usable floating value).\n",
" | maxexp : int\n",
" | Smallest (positive) power of `ibeta` that causes overflow.\n",
" | xmax : float\n",
" | ``(1-epsneg) * beta**maxexp`` (the largest [in magnitude]\n",
" | usable floating value).\n",
" | irnd : int\n",
" | In ``range(6)``, information on what kind of rounding is done\n",
" | in addition, and on how underflow is handled.\n",
" | ngrd : int\n",
" | Number of 'guard digits' used when truncating the product\n",
" | of two mantissas to fit the representation.\n",
" | epsilon : float\n",
" | Same as `eps`.\n",
" | tiny : float\n",
" | Same as `xmin`.\n",
" | huge : float\n",
" | Same as `xmax`.\n",
" | precision : float\n",
" | ``- int(-log10(eps))``\n",
" | resolution : float\n",
" | ``- 10**(-precision)``\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | float_conv : function, optional\n",
" | Function that converts an integer or integer array to a float\n",
" | or float array. Default is `float`.\n",
" | int_conv : function, optional\n",
" | Function that converts a float or float array to an integer or\n",
" | integer array. Default is `int`.\n",
" | float_to_float : function, optional\n",
" | Function that converts a float array to float. Default is `float`.\n",
" | Note that this does not seem to do anything useful in the current\n",
" | implementation.\n",
" | float_to_str : function, optional\n",
" | Function that converts a single float to a string. Default is\n",
" | ``lambda v:'%24.16e' %v``.\n",
" | title : str, optional\n",
" | Title that is printed in the string representation of `MachAr`.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | finfo : Machine limits for floating point types.\n",
" | iinfo : Machine limits for integer types.\n",
" | \n",
" | References\n",
" | ----------\n",
" | .. [1] Press, Teukolsky, Vetterling and Flannery,\n",
" | \"Numerical Recipes in C++,\" 2nd ed,\n",
" | Cambridge University Press, 2002, p. 31.\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __init__(self, float_conv=, int_conv=, float_to_float=, float_to_str= at 0x7f99240989d0>, title='Python floating point number')\n",
" | float_conv - convert integer to float (array)\n",
" | int_conv - convert float (array) to integer\n",
" | float_to_float - convert float array to float\n",
" | float_to_str - convert array float to str\n",
" | title - description of used floating point numbers\n",
" | \n",
" | __str__(self)\n",
" | Return str(self).\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class ModuleDeprecationWarning(builtins.DeprecationWarning)\n",
" | Module deprecation warning.\n",
" | \n",
" | The nose tester turns ordinary Deprecation warnings into test failures.\n",
" | That makes it hard to deprecate whole modules, because they get\n",
" | imported by default. So this is a special Deprecation warning that the\n",
" | nose tester will let pass without making tests fail.\n",
" | \n",
" | Method resolution order:\n",
" | ModuleDeprecationWarning\n",
" | builtins.DeprecationWarning\n",
" | builtins.Warning\n",
" | builtins.Exception\n",
" | builtins.BaseException\n",
" | builtins.object\n",
" | \n",
" | Data descriptors defined here:\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.DeprecationWarning:\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.DeprecationWarning:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.BaseException:\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, name, value, /)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | with_traceback(...)\n",
" | Exception.with_traceback(tb) --\n",
" | set self.__traceback__ to tb and return self.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from builtins.BaseException:\n",
" | \n",
" | __cause__\n",
" | exception cause\n",
" | \n",
" | __context__\n",
" | exception context\n",
" | \n",
" | __dict__\n",
" | \n",
" | __suppress_context__\n",
" | \n",
" | __traceback__\n",
" | \n",
" | args\n",
" \n",
" class RankWarning(builtins.UserWarning)\n",
" | Issued by `polyfit` when the Vandermonde matrix is rank deficient.\n",
" | \n",
" | For more information, a way to suppress the warning, and an example of\n",
" | `RankWarning` being issued, see `polyfit`.\n",
" | \n",
" | Method resolution order:\n",
" | RankWarning\n",
" | builtins.UserWarning\n",
" | builtins.Warning\n",
" | builtins.Exception\n",
" | builtins.BaseException\n",
" | builtins.object\n",
" | \n",
" | Data descriptors defined here:\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.UserWarning:\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.UserWarning:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.BaseException:\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, name, value, /)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | with_traceback(...)\n",
" | Exception.with_traceback(tb) --\n",
" | set self.__traceback__ to tb and return self.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from builtins.BaseException:\n",
" | \n",
" | __cause__\n",
" | exception cause\n",
" | \n",
" | __context__\n",
" | exception context\n",
" | \n",
" | __dict__\n",
" | \n",
" | __suppress_context__\n",
" | \n",
" | __traceback__\n",
" | \n",
" | args\n",
" \n",
" class TooHardError(builtins.RuntimeError)\n",
" | Unspecified run-time error.\n",
" | \n",
" | Method resolution order:\n",
" | TooHardError\n",
" | builtins.RuntimeError\n",
" | builtins.Exception\n",
" | builtins.BaseException\n",
" | builtins.object\n",
" | \n",
" | Data descriptors defined here:\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.RuntimeError:\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.RuntimeError:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.BaseException:\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, name, value, /)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | with_traceback(...)\n",
" | Exception.with_traceback(tb) --\n",
" | set self.__traceback__ to tb and return self.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from builtins.BaseException:\n",
" | \n",
" | __cause__\n",
" | exception cause\n",
" | \n",
" | __context__\n",
" | exception context\n",
" | \n",
" | __dict__\n",
" | \n",
" | __suppress_context__\n",
" | \n",
" | __traceback__\n",
" | \n",
" | args\n",
" \n",
" class VisibleDeprecationWarning(builtins.UserWarning)\n",
" | Visible deprecation warning.\n",
" | \n",
" | By default, python will not show deprecation warnings, so this class\n",
" | can be used when a very visible warning is helpful, for example because\n",
" | the usage is most likely a user bug.\n",
" | \n",
" | Method resolution order:\n",
" | VisibleDeprecationWarning\n",
" | builtins.UserWarning\n",
" | builtins.Warning\n",
" | builtins.Exception\n",
" | builtins.BaseException\n",
" | builtins.object\n",
" | \n",
" | Data descriptors defined here:\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.UserWarning:\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.UserWarning:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.BaseException:\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, name, value, /)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | with_traceback(...)\n",
" | Exception.with_traceback(tb) --\n",
" | set self.__traceback__ to tb and return self.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from builtins.BaseException:\n",
" | \n",
" | __cause__\n",
" | exception cause\n",
" | \n",
" | __context__\n",
" | exception context\n",
" | \n",
" | __dict__\n",
" | \n",
" | __suppress_context__\n",
" | \n",
" | __traceback__\n",
" | \n",
" | args\n",
" \n",
" bool8 = class bool_(generic)\n",
" | Boolean type (True or False), stored as a byte.\n",
" | Character code: ``'?'``.\n",
" | Alias: ``np.bool8``.\n",
" | \n",
" | Method resolution order:\n",
" | bool_\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class bool_(generic)\n",
" | Boolean type (True or False), stored as a byte.\n",
" | Character code: ``'?'``.\n",
" | Alias: ``np.bool8``.\n",
" | \n",
" | Method resolution order:\n",
" | bool_\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class broadcast(builtins.object)\n",
" | Produce an object that mimics broadcasting.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | in1, in2, ... : array_like\n",
" | Input parameters.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | b : broadcast object\n",
" | Broadcast the input parameters against one another, and\n",
" | return an object that encapsulates the result.\n",
" | Amongst others, it has ``shape`` and ``nd`` properties, and\n",
" | may be used as an iterator.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | broadcast_arrays\n",
" | broadcast_to\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | Manually adding two vectors, using broadcasting:\n",
" | \n",
" | >>> x = np.array([[1], [2], [3]])\n",
" | >>> y = np.array([4, 5, 6])\n",
" | >>> b = np.broadcast(x, y)\n",
" | \n",
" | >>> out = np.empty(b.shape)\n",
" | >>> out.flat = [u+v for (u,v) in b]\n",
" | >>> out\n",
" | array([[5., 6., 7.],\n",
" | [6., 7., 8.],\n",
" | [7., 8., 9.]])\n",
" | \n",
" | Compare against built-in broadcasting:\n",
" | \n",
" | >>> x + y\n",
" | array([[5, 6, 7],\n",
" | [6, 7, 8],\n",
" | [7, 8, 9]])\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __next__(self, /)\n",
" | Implement next(self).\n",
" | \n",
" | reset(...)\n",
" | reset()\n",
" | \n",
" | Reset the broadcasted result's iterator(s).\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.index\n",
" | 0\n",
" | >>> next(b), next(b), next(b)\n",
" | ((1, 4), (2, 4), (3, 4))\n",
" | >>> b.index\n",
" | 3\n",
" | >>> b.reset()\n",
" | >>> b.index\n",
" | 0\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | index\n",
" | current index in broadcasted result\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([[1], [2], [3]])\n",
" | >>> y = np.array([4, 5, 6])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.index\n",
" | 0\n",
" | >>> next(b), next(b), next(b)\n",
" | ((1, 4), (1, 5), (1, 6))\n",
" | >>> b.index\n",
" | 3\n",
" | \n",
" | iters\n",
" | tuple of iterators along ``self``'s \"components.\"\n",
" | \n",
" | Returns a tuple of `numpy.flatiter` objects, one for each \"component\"\n",
" | of ``self``.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> row, col = b.iters\n",
" | >>> next(row), next(col)\n",
" | (1, 4)\n",
" | \n",
" | nd\n",
" | Number of dimensions of broadcasted result. For code intended for NumPy\n",
" | 1.12.0 and later the more consistent `ndim` is preferred.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.nd\n",
" | 2\n",
" | \n",
" | ndim\n",
" | Number of dimensions of broadcasted result. Alias for `nd`.\n",
" | \n",
" | .. versionadded:: 1.12.0\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.ndim\n",
" | 2\n",
" | \n",
" | numiter\n",
" | Number of iterators possessed by the broadcasted result.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.numiter\n",
" | 2\n",
" | \n",
" | shape\n",
" | Shape of broadcasted result.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.shape\n",
" | (3, 3)\n",
" | \n",
" | size\n",
" | Total size of broadcasted result.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> y = np.array([[4], [5], [6]])\n",
" | >>> b = np.broadcast(x, y)\n",
" | >>> b.size\n",
" | 9\n",
" \n",
" class busdaycalendar(builtins.object)\n",
" | busdaycalendar(weekmask='1111100', holidays=None)\n",
" | \n",
" | A business day calendar object that efficiently stores information\n",
" | defining valid days for the busday family of functions.\n",
" | \n",
" | The default valid days are Monday through Friday (\"business days\").\n",
" | A busdaycalendar object can be specified with any set of weekly\n",
" | valid days, plus an optional \"holiday\" dates that always will be invalid.\n",
" | \n",
" | Once a busdaycalendar object is created, the weekmask and holidays\n",
" | cannot be modified.\n",
" | \n",
" | .. versionadded:: 1.7.0\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | weekmask : str or array_like of bool, optional\n",
" | A seven-element array indicating which of Monday through Sunday are\n",
" | valid days. May be specified as a length-seven list or array, like\n",
" | [1,1,1,1,1,0,0]; a length-seven string, like '1111100'; or a string\n",
" | like \"Mon Tue Wed Thu Fri\", made up of 3-character abbreviations for\n",
" | weekdays, optionally separated by white space. Valid abbreviations\n",
" | are: Mon Tue Wed Thu Fri Sat Sun\n",
" | holidays : array_like of datetime64[D], optional\n",
" | An array of dates to consider as invalid dates, no matter which\n",
" | weekday they fall upon. Holiday dates may be specified in any\n",
" | order, and NaT (not-a-time) dates are ignored. This list is\n",
" | saved in a normalized form that is suited for fast calculations\n",
" | of valid days.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : busdaycalendar\n",
" | A business day calendar object containing the specified\n",
" | weekmask and holidays values.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | is_busday : Returns a boolean array indicating valid days.\n",
" | busday_offset : Applies an offset counted in valid days.\n",
" | busday_count : Counts how many valid days are in a half-open date range.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | Note: once a busdaycalendar object is created, you cannot modify the\n",
" | weekmask or holidays. The attributes return copies of internal data.\n",
" | weekmask : (copy) seven-element array of bool\n",
" | holidays : (copy) sorted array of datetime64[D]\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> # Some important days in July\n",
" | ... bdd = np.busdaycalendar(\n",
" | ... holidays=['2011-07-01', '2011-07-04', '2011-07-17'])\n",
" | >>> # Default is Monday to Friday weekdays\n",
" | ... bdd.weekmask\n",
" | array([ True, True, True, True, True, False, False])\n",
" | >>> # Any holidays already on the weekend are removed\n",
" | ... bdd.holidays\n",
" | array(['2011-07-01', '2011-07-04'], dtype='datetime64[D]')\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | holidays\n",
" | A copy of the holiday array indicating additional invalid days.\n",
" | \n",
" | weekmask\n",
" | A copy of the seven-element boolean mask indicating valid days.\n",
" \n",
" byte = class int8(signedinteger)\n",
" | Signed integer type, compatible with C ``char``.\n",
" | Character code: ``'b'``.\n",
" | Canonical name: ``np.byte``.\n",
" | Alias *on this platform*: ``np.int8``: 8-bit signed integer (-128 to 127).\n",
" | \n",
" | Method resolution order:\n",
" | int8\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" bytes0 = class bytes_(builtins.bytes, character)\n",
" | bytes(iterable_of_ints) -> bytes\n",
" | bytes(string, encoding[, errors]) -> bytes\n",
" | bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer\n",
" | bytes(int) -> bytes object of size given by the parameter initialized with null bytes\n",
" | bytes() -> empty bytes object\n",
" | \n",
" | Construct an immutable array of bytes from:\n",
" | - an iterable yielding integers in range(256)\n",
" | - a text string encoded using the specified encoding\n",
" | - any object implementing the buffer API.\n",
" | - an integer\n",
" | \n",
" | Method resolution order:\n",
" | bytes_\n",
" | builtins.bytes\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self copy of B\n",
" | \n",
" | Return a copy of B with only its first character capitalized (ASCII)\n",
" | and the rest lower-cased.\n",
" | \n",
" | center(self, width, fillchar=b' ', /)\n",
" | Return a centered string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | count(...)\n",
" | B.count(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the number of non-overlapping occurrences of subsection sub in\n",
" | bytes B[start:end]. Optional arguments start and end are interpreted\n",
" | as in slice notation.\n",
" | \n",
" | decode(self, /, encoding='utf-8', errors='strict')\n",
" | Decode the bytes using the codec registered for encoding.\n",
" | \n",
" | encoding\n",
" | The encoding with which to decode the bytes.\n",
" | errors\n",
" | The error handling scheme to use for the handling of decoding errors.\n",
" | The default is 'strict' meaning that decoding errors raise a\n",
" | UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n",
" | as well as any other name registered with codecs.register_error that\n",
" | can handle UnicodeDecodeErrors.\n",
" | \n",
" | endswith(...)\n",
" | B.endswith(suffix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if B ends with the specified suffix, False otherwise.\n",
" | With optional start, test B beginning at that position.\n",
" | With optional end, stop comparing B at that position.\n",
" | suffix can also be a tuple of bytes to try.\n",
" | \n",
" | expandtabs(self, /, tabsize=8)\n",
" | Return a copy where all tab characters are expanded using spaces.\n",
" | \n",
" | If tabsize is not given, a tab size of 8 characters is assumed.\n",
" | \n",
" | find(...)\n",
" | B.find(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | hex(...)\n",
" | Create a str of hexadecimal numbers from a bytes object.\n",
" | \n",
" | sep\n",
" | An optional single character or byte to separate hex bytes.\n",
" | bytes_per_sep\n",
" | How many bytes between separators. Positive values count from the\n",
" | right, negative values count from the left.\n",
" | \n",
" | Example:\n",
" | >>> value = b'\\xb9\\x01\\xef'\n",
" | >>> value.hex()\n",
" | 'b901ef'\n",
" | >>> value.hex(':')\n",
" | 'b9:01:ef'\n",
" | >>> value.hex(':', 2)\n",
" | 'b9:01ef'\n",
" | >>> value.hex(':', -2)\n",
" | 'b901:ef'\n",
" | \n",
" | index(...)\n",
" | B.index(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the subsection is not found.\n",
" | \n",
" | isalnum(...)\n",
" | B.isalnum() -> bool\n",
" | \n",
" | Return True if all characters in B are alphanumeric\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | isalpha(...)\n",
" | B.isalpha() -> bool\n",
" | \n",
" | Return True if all characters in B are alphabetic\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | isascii(...)\n",
" | B.isascii() -> bool\n",
" | \n",
" | Return True if B is empty or all characters in B are ASCII,\n",
" | False otherwise.\n",
" | \n",
" | isdigit(...)\n",
" | B.isdigit() -> bool\n",
" | \n",
" | Return True if all characters in B are digits\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | islower(...)\n",
" | B.islower() -> bool\n",
" | \n",
" | Return True if all cased characters in B are lowercase and there is\n",
" | at least one cased character in B, False otherwise.\n",
" | \n",
" | isspace(...)\n",
" | B.isspace() -> bool\n",
" | \n",
" | Return True if all characters in B are whitespace\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | istitle(...)\n",
" | B.istitle() -> bool\n",
" | \n",
" | Return True if B is a titlecased string and there is at least one\n",
" | character in B, i.e. uppercase characters may only follow uncased\n",
" | characters and lowercase characters only cased ones. Return False\n",
" | otherwise.\n",
" | \n",
" | isupper(...)\n",
" | B.isupper() -> bool\n",
" | \n",
" | Return True if all cased characters in B are uppercase and there is\n",
" | at least one cased character in B, False otherwise.\n",
" | \n",
" | join(self, iterable_of_bytes, /)\n",
" | Concatenate any number of bytes objects.\n",
" | \n",
" | The bytes whose method is called is inserted in between each pair.\n",
" | \n",
" | The result is returned as a new bytes object.\n",
" | \n",
" | Example: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.\n",
" | \n",
" | ljust(self, width, fillchar=b' ', /)\n",
" | Return a left-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | lower(...)\n",
" | B.lower() -> copy of B\n",
" | \n",
" | Return a copy of B with all ASCII characters converted to lowercase.\n",
" | \n",
" | lstrip(self, bytes=None, /)\n",
" | Strip leading bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip leading ASCII whitespace.\n",
" | \n",
" | partition(self, sep, /)\n",
" | Partition the bytes into three parts using the given separator.\n",
" | \n",
" | This will search for the separator sep in the bytes. If the separator is found,\n",
" | returns a 3-tuple containing the part before the separator, the separator\n",
" | itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing the original bytes\n",
" | object and two empty bytes objects.\n",
" | \n",
" | replace(self, old, new, count=-1, /)\n",
" | Return a copy with all occurrences of substring old replaced by new.\n",
" | \n",
" | count\n",
" | Maximum number of occurrences to replace.\n",
" | -1 (the default value) means replace all occurrences.\n",
" | \n",
" | If the optional argument count is given, only the first count occurrences are\n",
" | replaced.\n",
" | \n",
" | rfind(...)\n",
" | B.rfind(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | rindex(...)\n",
" | B.rindex(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raise ValueError when the subsection is not found.\n",
" | \n",
" | rjust(self, width, fillchar=b' ', /)\n",
" | Return a right-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | rpartition(self, sep, /)\n",
" | Partition the bytes into three parts using the given separator.\n",
" | \n",
" | This will search for the separator sep in the bytes, starting at the end. If\n",
" | the separator is found, returns a 3-tuple containing the part before the\n",
" | separator, the separator itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing two empty bytes\n",
" | objects and the original bytes object.\n",
" | \n",
" | rsplit(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the sections in the bytes, using sep as the delimiter.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the bytes.\n",
" | None (the default value) means split on ASCII whitespace characters\n",
" | (space, tab, return, newline, formfeed, vertical tab).\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | Splitting is done starting at the end of the bytes and working to the front.\n",
" | \n",
" | rstrip(self, bytes=None, /)\n",
" | Strip trailing bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip trailing ASCII whitespace.\n",
" | \n",
" | split(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the sections in the bytes, using sep as the delimiter.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the bytes.\n",
" | None (the default value) means split on ASCII whitespace characters\n",
" | (space, tab, return, newline, formfeed, vertical tab).\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | splitlines(self, /, keepends=False)\n",
" | Return a list of the lines in the bytes, breaking at line boundaries.\n",
" | \n",
" | Line breaks are not included in the resulting list unless keepends is given and\n",
" | true.\n",
" | \n",
" | startswith(...)\n",
" | B.startswith(prefix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if B starts with the specified prefix, False otherwise.\n",
" | With optional start, test B beginning at that position.\n",
" | With optional end, stop comparing B at that position.\n",
" | prefix can also be a tuple of bytes to try.\n",
" | \n",
" | strip(self, bytes=None, /)\n",
" | Strip leading and trailing bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip leading and trailing ASCII whitespace.\n",
" | \n",
" | swapcase(...)\n",
" | B.swapcase() -> copy of B\n",
" | \n",
" | Return a copy of B with uppercase ASCII characters converted\n",
" | to lowercase ASCII and vice versa.\n",
" | \n",
" | title(...)\n",
" | B.title() -> copy of B\n",
" | \n",
" | Return a titlecased version of B, i.e. ASCII words start with uppercase\n",
" | characters, all remaining cased characters have lowercase.\n",
" | \n",
" | translate(self, table, /, delete=b'')\n",
" | Return a copy with each character mapped by the given translation table.\n",
" | \n",
" | table\n",
" | Translation table, which must be a bytes object of length 256.\n",
" | \n",
" | All characters occurring in the optional argument delete are removed.\n",
" | The remaining characters are mapped through the given translation table.\n",
" | \n",
" | upper(...)\n",
" | B.upper() -> copy of B\n",
" | \n",
" | Return a copy of B with all ASCII characters converted to uppercase.\n",
" | \n",
" | zfill(self, width, /)\n",
" | Pad a numeric string with zeros on the left, to fill a field of the given width.\n",
" | \n",
" | The original string is never truncated.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Class methods inherited from builtins.bytes:\n",
" | \n",
" | fromhex(string, /) from builtins.type\n",
" | Create a bytes object from a string of hexadecimal numbers.\n",
" | \n",
" | Spaces between two numbers are accepted.\n",
" | Example: bytes.fromhex('B9 01EF') -> b'\\\\xb9\\\\x01\\\\xef'.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.bytes:\n",
" | \n",
" | maketrans(frm, to, /)\n",
" | Return a translation table useable for the bytes or bytearray translate method.\n",
" | \n",
" | The returned table will be one where each byte in frm is mapped to the byte at\n",
" | the same position in to.\n",
" | \n",
" | The bytes objects frm and to must be of the same length.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class bytes_(builtins.bytes, character)\n",
" | bytes(iterable_of_ints) -> bytes\n",
" | bytes(string, encoding[, errors]) -> bytes\n",
" | bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer\n",
" | bytes(int) -> bytes object of size given by the parameter initialized with null bytes\n",
" | bytes() -> empty bytes object\n",
" | \n",
" | Construct an immutable array of bytes from:\n",
" | - an iterable yielding integers in range(256)\n",
" | - a text string encoded using the specified encoding\n",
" | - any object implementing the buffer API.\n",
" | - an integer\n",
" | \n",
" | Method resolution order:\n",
" | bytes_\n",
" | builtins.bytes\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self copy of B\n",
" | \n",
" | Return a copy of B with only its first character capitalized (ASCII)\n",
" | and the rest lower-cased.\n",
" | \n",
" | center(self, width, fillchar=b' ', /)\n",
" | Return a centered string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | count(...)\n",
" | B.count(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the number of non-overlapping occurrences of subsection sub in\n",
" | bytes B[start:end]. Optional arguments start and end are interpreted\n",
" | as in slice notation.\n",
" | \n",
" | decode(self, /, encoding='utf-8', errors='strict')\n",
" | Decode the bytes using the codec registered for encoding.\n",
" | \n",
" | encoding\n",
" | The encoding with which to decode the bytes.\n",
" | errors\n",
" | The error handling scheme to use for the handling of decoding errors.\n",
" | The default is 'strict' meaning that decoding errors raise a\n",
" | UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n",
" | as well as any other name registered with codecs.register_error that\n",
" | can handle UnicodeDecodeErrors.\n",
" | \n",
" | endswith(...)\n",
" | B.endswith(suffix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if B ends with the specified suffix, False otherwise.\n",
" | With optional start, test B beginning at that position.\n",
" | With optional end, stop comparing B at that position.\n",
" | suffix can also be a tuple of bytes to try.\n",
" | \n",
" | expandtabs(self, /, tabsize=8)\n",
" | Return a copy where all tab characters are expanded using spaces.\n",
" | \n",
" | If tabsize is not given, a tab size of 8 characters is assumed.\n",
" | \n",
" | find(...)\n",
" | B.find(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | hex(...)\n",
" | Create a str of hexadecimal numbers from a bytes object.\n",
" | \n",
" | sep\n",
" | An optional single character or byte to separate hex bytes.\n",
" | bytes_per_sep\n",
" | How many bytes between separators. Positive values count from the\n",
" | right, negative values count from the left.\n",
" | \n",
" | Example:\n",
" | >>> value = b'\\xb9\\x01\\xef'\n",
" | >>> value.hex()\n",
" | 'b901ef'\n",
" | >>> value.hex(':')\n",
" | 'b9:01:ef'\n",
" | >>> value.hex(':', 2)\n",
" | 'b9:01ef'\n",
" | >>> value.hex(':', -2)\n",
" | 'b901:ef'\n",
" | \n",
" | index(...)\n",
" | B.index(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the subsection is not found.\n",
" | \n",
" | isalnum(...)\n",
" | B.isalnum() -> bool\n",
" | \n",
" | Return True if all characters in B are alphanumeric\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | isalpha(...)\n",
" | B.isalpha() -> bool\n",
" | \n",
" | Return True if all characters in B are alphabetic\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | isascii(...)\n",
" | B.isascii() -> bool\n",
" | \n",
" | Return True if B is empty or all characters in B are ASCII,\n",
" | False otherwise.\n",
" | \n",
" | isdigit(...)\n",
" | B.isdigit() -> bool\n",
" | \n",
" | Return True if all characters in B are digits\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | islower(...)\n",
" | B.islower() -> bool\n",
" | \n",
" | Return True if all cased characters in B are lowercase and there is\n",
" | at least one cased character in B, False otherwise.\n",
" | \n",
" | isspace(...)\n",
" | B.isspace() -> bool\n",
" | \n",
" | Return True if all characters in B are whitespace\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | istitle(...)\n",
" | B.istitle() -> bool\n",
" | \n",
" | Return True if B is a titlecased string and there is at least one\n",
" | character in B, i.e. uppercase characters may only follow uncased\n",
" | characters and lowercase characters only cased ones. Return False\n",
" | otherwise.\n",
" | \n",
" | isupper(...)\n",
" | B.isupper() -> bool\n",
" | \n",
" | Return True if all cased characters in B are uppercase and there is\n",
" | at least one cased character in B, False otherwise.\n",
" | \n",
" | join(self, iterable_of_bytes, /)\n",
" | Concatenate any number of bytes objects.\n",
" | \n",
" | The bytes whose method is called is inserted in between each pair.\n",
" | \n",
" | The result is returned as a new bytes object.\n",
" | \n",
" | Example: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.\n",
" | \n",
" | ljust(self, width, fillchar=b' ', /)\n",
" | Return a left-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | lower(...)\n",
" | B.lower() -> copy of B\n",
" | \n",
" | Return a copy of B with all ASCII characters converted to lowercase.\n",
" | \n",
" | lstrip(self, bytes=None, /)\n",
" | Strip leading bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip leading ASCII whitespace.\n",
" | \n",
" | partition(self, sep, /)\n",
" | Partition the bytes into three parts using the given separator.\n",
" | \n",
" | This will search for the separator sep in the bytes. If the separator is found,\n",
" | returns a 3-tuple containing the part before the separator, the separator\n",
" | itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing the original bytes\n",
" | object and two empty bytes objects.\n",
" | \n",
" | replace(self, old, new, count=-1, /)\n",
" | Return a copy with all occurrences of substring old replaced by new.\n",
" | \n",
" | count\n",
" | Maximum number of occurrences to replace.\n",
" | -1 (the default value) means replace all occurrences.\n",
" | \n",
" | If the optional argument count is given, only the first count occurrences are\n",
" | replaced.\n",
" | \n",
" | rfind(...)\n",
" | B.rfind(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | rindex(...)\n",
" | B.rindex(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raise ValueError when the subsection is not found.\n",
" | \n",
" | rjust(self, width, fillchar=b' ', /)\n",
" | Return a right-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | rpartition(self, sep, /)\n",
" | Partition the bytes into three parts using the given separator.\n",
" | \n",
" | This will search for the separator sep in the bytes, starting at the end. If\n",
" | the separator is found, returns a 3-tuple containing the part before the\n",
" | separator, the separator itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing two empty bytes\n",
" | objects and the original bytes object.\n",
" | \n",
" | rsplit(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the sections in the bytes, using sep as the delimiter.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the bytes.\n",
" | None (the default value) means split on ASCII whitespace characters\n",
" | (space, tab, return, newline, formfeed, vertical tab).\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | Splitting is done starting at the end of the bytes and working to the front.\n",
" | \n",
" | rstrip(self, bytes=None, /)\n",
" | Strip trailing bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip trailing ASCII whitespace.\n",
" | \n",
" | split(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the sections in the bytes, using sep as the delimiter.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the bytes.\n",
" | None (the default value) means split on ASCII whitespace characters\n",
" | (space, tab, return, newline, formfeed, vertical tab).\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | splitlines(self, /, keepends=False)\n",
" | Return a list of the lines in the bytes, breaking at line boundaries.\n",
" | \n",
" | Line breaks are not included in the resulting list unless keepends is given and\n",
" | true.\n",
" | \n",
" | startswith(...)\n",
" | B.startswith(prefix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if B starts with the specified prefix, False otherwise.\n",
" | With optional start, test B beginning at that position.\n",
" | With optional end, stop comparing B at that position.\n",
" | prefix can also be a tuple of bytes to try.\n",
" | \n",
" | strip(self, bytes=None, /)\n",
" | Strip leading and trailing bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip leading and trailing ASCII whitespace.\n",
" | \n",
" | swapcase(...)\n",
" | B.swapcase() -> copy of B\n",
" | \n",
" | Return a copy of B with uppercase ASCII characters converted\n",
" | to lowercase ASCII and vice versa.\n",
" | \n",
" | title(...)\n",
" | B.title() -> copy of B\n",
" | \n",
" | Return a titlecased version of B, i.e. ASCII words start with uppercase\n",
" | characters, all remaining cased characters have lowercase.\n",
" | \n",
" | translate(self, table, /, delete=b'')\n",
" | Return a copy with each character mapped by the given translation table.\n",
" | \n",
" | table\n",
" | Translation table, which must be a bytes object of length 256.\n",
" | \n",
" | All characters occurring in the optional argument delete are removed.\n",
" | The remaining characters are mapped through the given translation table.\n",
" | \n",
" | upper(...)\n",
" | B.upper() -> copy of B\n",
" | \n",
" | Return a copy of B with all ASCII characters converted to uppercase.\n",
" | \n",
" | zfill(self, width, /)\n",
" | Pad a numeric string with zeros on the left, to fill a field of the given width.\n",
" | \n",
" | The original string is never truncated.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Class methods inherited from builtins.bytes:\n",
" | \n",
" | fromhex(string, /) from builtins.type\n",
" | Create a bytes object from a string of hexadecimal numbers.\n",
" | \n",
" | Spaces between two numbers are accepted.\n",
" | Example: bytes.fromhex('B9 01EF') -> b'\\\\xb9\\\\x01\\\\xef'.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.bytes:\n",
" | \n",
" | maketrans(frm, to, /)\n",
" | Return a translation table useable for the bytes or bytearray translate method.\n",
" | \n",
" | The returned table will be one where each byte in frm is mapped to the byte at\n",
" | the same position in to.\n",
" | \n",
" | The bytes objects frm and to must be of the same length.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" cdouble = class complex128(complexfloating, builtins.complex)\n",
" | cdouble(real=0, imag=0)\n",
" | \n",
" | Complex number type composed of two double-precision floating-point\n",
" | numbers, compatible with Python `complex`.\n",
" | Character code: ``'D'``.\n",
" | Canonical name: ``np.cdouble``.\n",
" | Alias: ``np.cfloat``.\n",
" | Alias: ``np.complex_``.\n",
" | Alias *on this platform*: ``np.complex128``: Complex number type composed of 2 64-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex128\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.complex\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.complex:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(...)\n",
" \n",
" cfloat = class complex128(complexfloating, builtins.complex)\n",
" | cfloat(real=0, imag=0)\n",
" | \n",
" | Complex number type composed of two double-precision floating-point\n",
" | numbers, compatible with Python `complex`.\n",
" | Character code: ``'D'``.\n",
" | Canonical name: ``np.cdouble``.\n",
" | Alias: ``np.cfloat``.\n",
" | Alias: ``np.complex_``.\n",
" | Alias *on this platform*: ``np.complex128``: Complex number type composed of 2 64-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex128\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.complex\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.complex:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(...)\n",
" \n",
" class character(flexible)\n",
" | Abstract base class of all character string scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class chararray(ndarray)\n",
" | chararray(shape, itemsize=1, unicode=False, buffer=None, offset=0, strides=None, order='C')\n",
" | \n",
" | chararray(shape, itemsize=1, unicode=False, buffer=None, offset=0,\n",
" | strides=None, order=None)\n",
" | \n",
" | Provides a convenient view on arrays of string and unicode values.\n",
" | \n",
" | .. note::\n",
" | The `chararray` class exists for backwards compatibility with\n",
" | Numarray, it is not recommended for new development. Starting from numpy\n",
" | 1.4, if one needs arrays of strings, it is recommended to use arrays of\n",
" | `dtype` `object_`, `string_` or `unicode_`, and use the free functions\n",
" | in the `numpy.char` module for fast vectorized string operations.\n",
" | \n",
" | Versus a regular NumPy array of type `str` or `unicode`, this\n",
" | class adds the following functionality:\n",
" | \n",
" | 1) values automatically have whitespace removed from the end\n",
" | when indexed\n",
" | \n",
" | 2) comparison operators automatically remove whitespace from the\n",
" | end when comparing values\n",
" | \n",
" | 3) vectorized string operations are provided as methods\n",
" | (e.g. `.endswith`) and infix operators (e.g. ``\"+\", \"*\", \"%\"``)\n",
" | \n",
" | chararrays should be created using `numpy.char.array` or\n",
" | `numpy.char.asarray`, rather than this constructor directly.\n",
" | \n",
" | This constructor creates the array, using `buffer` (with `offset`\n",
" | and `strides`) if it is not ``None``. If `buffer` is ``None``, then\n",
" | constructs a new array with `strides` in \"C order\", unless both\n",
" | ``len(shape) >= 2`` and ``order='F'``, in which case `strides`\n",
" | is in \"Fortran order\".\n",
" | \n",
" | Methods\n",
" | -------\n",
" | astype\n",
" | argsort\n",
" | copy\n",
" | count\n",
" | decode\n",
" | dump\n",
" | dumps\n",
" | encode\n",
" | endswith\n",
" | expandtabs\n",
" | fill\n",
" | find\n",
" | flatten\n",
" | getfield\n",
" | index\n",
" | isalnum\n",
" | isalpha\n",
" | isdecimal\n",
" | isdigit\n",
" | islower\n",
" | isnumeric\n",
" | isspace\n",
" | istitle\n",
" | isupper\n",
" | item\n",
" | join\n",
" | ljust\n",
" | lower\n",
" | lstrip\n",
" | nonzero\n",
" | put\n",
" | ravel\n",
" | repeat\n",
" | replace\n",
" | reshape\n",
" | resize\n",
" | rfind\n",
" | rindex\n",
" | rjust\n",
" | rsplit\n",
" | rstrip\n",
" | searchsorted\n",
" | setfield\n",
" | setflags\n",
" | sort\n",
" | split\n",
" | splitlines\n",
" | squeeze\n",
" | startswith\n",
" | strip\n",
" | swapaxes\n",
" | swapcase\n",
" | take\n",
" | title\n",
" | tofile\n",
" | tolist\n",
" | tostring\n",
" | translate\n",
" | transpose\n",
" | upper\n",
" | view\n",
" | zfill\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | shape : tuple\n",
" | Shape of the array.\n",
" | itemsize : int, optional\n",
" | Length of each array element, in number of characters. Default is 1.\n",
" | unicode : bool, optional\n",
" | Are the array elements of type unicode (True) or string (False).\n",
" | Default is False.\n",
" | buffer : object exposing the buffer interface or str, optional\n",
" | Memory address of the start of the array data. Default is None,\n",
" | in which case a new array is created.\n",
" | offset : int, optional\n",
" | Fixed stride displacement from the beginning of an axis?\n",
" | Default is 0. Needs to be >=0.\n",
" | strides : array_like of ints, optional\n",
" | Strides for the array (see `ndarray.strides` for full description).\n",
" | Default is None.\n",
" | order : {'C', 'F'}, optional\n",
" | The order in which the array data is stored in memory: 'C' ->\n",
" | \"row major\" order (the default), 'F' -> \"column major\"\n",
" | (Fortran) order.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> charar = np.chararray((3, 3))\n",
" | >>> charar[:] = 'a'\n",
" | >>> charar\n",
" | chararray([[b'a', b'a', b'a'],\n",
" | [b'a', b'a', b'a'],\n",
" | [b'a', b'a', b'a']], dtype='|S1')\n",
" | \n",
" | >>> charar = np.chararray(charar.shape, itemsize=5)\n",
" | >>> charar[:] = 'abc'\n",
" | >>> charar\n",
" | chararray([[b'abc', b'abc', b'abc'],\n",
" | [b'abc', b'abc', b'abc'],\n",
" | [b'abc', b'abc', b'abc']], dtype='|S5')\n",
" | \n",
" | Method resolution order:\n",
" | chararray\n",
" | ndarray\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __add__(self, other)\n",
" | Return (self + other), that is string concatenation,\n",
" | element-wise for a pair of array_likes of str or unicode.\n",
" | \n",
" | See also\n",
" | --------\n",
" | add\n",
" | \n",
" | __array_finalize__(self, obj)\n",
" | None.\n",
" | \n",
" | __eq__(self, other)\n",
" | Return (self == other) element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | equal\n",
" | \n",
" | __ge__(self, other)\n",
" | Return (self >= other) element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | greater_equal\n",
" | \n",
" | __getitem__(self, obj)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, other)\n",
" | Return (self > other) element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | greater\n",
" | \n",
" | __le__(self, other)\n",
" | Return (self <= other) element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | less_equal\n",
" | \n",
" | __lt__(self, other)\n",
" | Return (self < other) element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | less\n",
" | \n",
" | __mod__(self, i)\n",
" | Return (self % i), that is pre-Python 2.6 string formatting\n",
" | (interpolation), element-wise for a pair of array_likes of `string_`\n",
" | or `unicode_`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | mod\n",
" | \n",
" | __mul__(self, i)\n",
" | Return (self * i), that is string multiple concatenation,\n",
" | element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | multiply\n",
" | \n",
" | __ne__(self, other)\n",
" | Return (self != other) element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | not_equal\n",
" | \n",
" | __radd__(self, other)\n",
" | Return (other + self), that is string concatenation,\n",
" | element-wise for a pair of array_likes of `string_` or `unicode_`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | add\n",
" | \n",
" | __rmod__(self, other)\n",
" | Return value%self.\n",
" | \n",
" | __rmul__(self, i)\n",
" | Return (self * i), that is string multiple concatenation,\n",
" | element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | multiply\n",
" | \n",
" | argsort(self, axis=-1, kind=None, order=None)\n",
" | a.argsort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Returns the indices that would sort this array.\n",
" | \n",
" | Refer to `numpy.argsort` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argsort : equivalent function\n",
" | \n",
" | capitalize(self)\n",
" | Return a copy of `self` with only the first character of each element\n",
" | capitalized.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.capitalize\n",
" | \n",
" | center(self, width, fillchar=' ')\n",
" | Return a copy of `self` with its elements centered in a\n",
" | string of length `width`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | center\n",
" | \n",
" | count(self, sub, start=0, end=None)\n",
" | Returns an array with the number of non-overlapping occurrences of\n",
" | substring `sub` in the range [`start`, `end`].\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.count\n",
" | \n",
" | decode(self, encoding=None, errors=None)\n",
" | Calls `str.decode` element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.decode\n",
" | \n",
" | encode(self, encoding=None, errors=None)\n",
" | Calls `str.encode` element-wise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.encode\n",
" | \n",
" | endswith(self, suffix, start=0, end=None)\n",
" | Returns a boolean array which is `True` where the string element\n",
" | in `self` ends with `suffix`, otherwise `False`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.endswith\n",
" | \n",
" | expandtabs(self, tabsize=8)\n",
" | Return a copy of each string element where all tab characters are\n",
" | replaced by one or more spaces.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.expandtabs\n",
" | \n",
" | find(self, sub, start=0, end=None)\n",
" | For each element, return the lowest index in the string where\n",
" | substring `sub` is found.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.find\n",
" | \n",
" | index(self, sub, start=0, end=None)\n",
" | Like `find`, but raises `ValueError` when the substring is not found.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.index\n",
" | \n",
" | isalnum(self)\n",
" | Returns true for each element if all characters in the string\n",
" | are alphanumeric and there is at least one character, false\n",
" | otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isalnum\n",
" | \n",
" | isalpha(self)\n",
" | Returns true for each element if all characters in the string\n",
" | are alphabetic and there is at least one character, false\n",
" | otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isalpha\n",
" | \n",
" | isdecimal(self)\n",
" | For each element in `self`, return True if there are only\n",
" | decimal characters in the element.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isdecimal\n",
" | \n",
" | isdigit(self)\n",
" | Returns true for each element if all characters in the string are\n",
" | digits and there is at least one character, false otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isdigit\n",
" | \n",
" | islower(self)\n",
" | Returns true for each element if all cased characters in the\n",
" | string are lowercase and there is at least one cased character,\n",
" | false otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.islower\n",
" | \n",
" | isnumeric(self)\n",
" | For each element in `self`, return True if there are only\n",
" | numeric characters in the element.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isnumeric\n",
" | \n",
" | isspace(self)\n",
" | Returns true for each element if there are only whitespace\n",
" | characters in the string and there is at least one character,\n",
" | false otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isspace\n",
" | \n",
" | istitle(self)\n",
" | Returns true for each element if the element is a titlecased\n",
" | string and there is at least one character, false otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.istitle\n",
" | \n",
" | isupper(self)\n",
" | Returns true for each element if all cased characters in the\n",
" | string are uppercase and there is at least one character, false\n",
" | otherwise.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.isupper\n",
" | \n",
" | join(self, seq)\n",
" | Return a string which is the concatenation of the strings in the\n",
" | sequence `seq`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.join\n",
" | \n",
" | ljust(self, width, fillchar=' ')\n",
" | Return an array with the elements of `self` left-justified in a\n",
" | string of length `width`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.ljust\n",
" | \n",
" | lower(self)\n",
" | Return an array with the elements of `self` converted to\n",
" | lowercase.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.lower\n",
" | \n",
" | lstrip(self, chars=None)\n",
" | For each element in `self`, return a copy with the leading characters\n",
" | removed.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.lstrip\n",
" | \n",
" | partition(self, sep)\n",
" | Partition each element in `self` around `sep`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | partition\n",
" | \n",
" | replace(self, old, new, count=None)\n",
" | For each element in `self`, return a copy of the string with all\n",
" | occurrences of substring `old` replaced by `new`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.replace\n",
" | \n",
" | rfind(self, sub, start=0, end=None)\n",
" | For each element in `self`, return the highest index in the string\n",
" | where substring `sub` is found, such that `sub` is contained\n",
" | within [`start`, `end`].\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.rfind\n",
" | \n",
" | rindex(self, sub, start=0, end=None)\n",
" | Like `rfind`, but raises `ValueError` when the substring `sub` is\n",
" | not found.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.rindex\n",
" | \n",
" | rjust(self, width, fillchar=' ')\n",
" | Return an array with the elements of `self`\n",
" | right-justified in a string of length `width`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.rjust\n",
" | \n",
" | rpartition(self, sep)\n",
" | Partition each element in `self` around `sep`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | rpartition\n",
" | \n",
" | rsplit(self, sep=None, maxsplit=None)\n",
" | For each element in `self`, return a list of the words in\n",
" | the string, using `sep` as the delimiter string.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.rsplit\n",
" | \n",
" | rstrip(self, chars=None)\n",
" | For each element in `self`, return a copy with the trailing\n",
" | characters removed.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.rstrip\n",
" | \n",
" | split(self, sep=None, maxsplit=None)\n",
" | For each element in `self`, return a list of the words in the\n",
" | string, using `sep` as the delimiter string.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.split\n",
" | \n",
" | splitlines(self, keepends=None)\n",
" | For each element in `self`, return a list of the lines in the\n",
" | element, breaking at line boundaries.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.splitlines\n",
" | \n",
" | startswith(self, prefix, start=0, end=None)\n",
" | Returns a boolean array which is `True` where the string element\n",
" | in `self` starts with `prefix`, otherwise `False`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.startswith\n",
" | \n",
" | strip(self, chars=None)\n",
" | For each element in `self`, return a copy with the leading and\n",
" | trailing characters removed.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.strip\n",
" | \n",
" | swapcase(self)\n",
" | For each element in `self`, return a copy of the string with\n",
" | uppercase characters converted to lowercase and vice versa.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.swapcase\n",
" | \n",
" | title(self)\n",
" | For each element in `self`, return a titlecased version of the\n",
" | string: words start with uppercase characters, all remaining cased\n",
" | characters are lowercase.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.title\n",
" | \n",
" | translate(self, table, deletechars=None)\n",
" | For each element in `self`, return a copy of the string where\n",
" | all characters occurring in the optional argument\n",
" | `deletechars` are removed, and the remaining characters have\n",
" | been mapped through the given translation table.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.translate\n",
" | \n",
" | upper(self)\n",
" | Return an array with the elements of `self` converted to\n",
" | uppercase.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.upper\n",
" | \n",
" | zfill(self, width)\n",
" | Return the numeric string left-filled with zeros in a string of\n",
" | length `width`.\n",
" | \n",
" | See also\n",
" | --------\n",
" | char.zfill\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(subtype, shape, itemsize=1, unicode=False, buffer=None, offset=0, strides=None, order='C')\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __hash__ = None\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from ndarray:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | a.__array__([dtype], /) -> reference if type unchanged, copy otherwise.\n",
" | \n",
" | Returns either a new reference to self if dtype is not given or a new array\n",
" | of provided data type if dtype is different from the current dtype of the\n",
" | array.\n",
" | \n",
" | __array_function__(...)\n",
" | \n",
" | __array_prepare__(...)\n",
" | a.__array_prepare__(obj) -> Object of same type as ndarray object obj.\n",
" | \n",
" | __array_ufunc__(...)\n",
" | \n",
" | __array_wrap__(...)\n",
" | a.__array_wrap__(obj) -> Object of same type as ndarray object a.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __copy__(...)\n",
" | a.__copy__()\n",
" | \n",
" | Used if :func:`copy.copy` is called on an array. Returns a copy of the array.\n",
" | \n",
" | Equivalent to ``a.copy(order='K')``.\n",
" | \n",
" | __deepcopy__(...)\n",
" | a.__deepcopy__(memo, /) -> Deep copy of array.\n",
" | \n",
" | Used if :func:`copy.deepcopy` is called on an array.\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | Default object formatter.\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Return self+=value.\n",
" | \n",
" | __iand__(self, value, /)\n",
" | Return self&=value.\n",
" | \n",
" | __ifloordiv__(self, value, /)\n",
" | Return self//=value.\n",
" | \n",
" | __ilshift__(self, value, /)\n",
" | Return self<<=value.\n",
" | \n",
" | __imatmul__(self, value, /)\n",
" | Return self@=value.\n",
" | \n",
" | __imod__(self, value, /)\n",
" | Return self%=value.\n",
" | \n",
" | __imul__(self, value, /)\n",
" | Return self*=value.\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __ior__(self, value, /)\n",
" | Return self|=value.\n",
" | \n",
" | __ipow__(self, value, /)\n",
" | Return self**=value.\n",
" | \n",
" | __irshift__(self, value, /)\n",
" | Return self>>=value.\n",
" | \n",
" | __isub__(self, value, /)\n",
" | Return self-=value.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __itruediv__(self, value, /)\n",
" | Return self/=value.\n",
" | \n",
" | __ixor__(self, value, /)\n",
" | Return self^=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setitem__(self, key, value, /)\n",
" | Set self[key] to value.\n",
" | \n",
" | __setstate__(...)\n",
" | a.__setstate__(state, /)\n",
" | \n",
" | For unpickling.\n",
" | \n",
" | The `state` argument must be a sequence that contains the following\n",
" | elements:\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | version : int\n",
" | optional pickle version. If omitted defaults to 0.\n",
" | shape : tuple\n",
" | dtype : data-type\n",
" | isFortran : bool\n",
" | rawdata : string or list\n",
" | a binary string with the data (or a list if 'a' is an object array)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | a.all(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if all elements evaluate to True.\n",
" | \n",
" | Refer to `numpy.all` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.all : equivalent function\n",
" | \n",
" | any(...)\n",
" | a.any(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if any of the elements of `a` evaluate to True.\n",
" | \n",
" | Refer to `numpy.any` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.any : equivalent function\n",
" | \n",
" | argmax(...)\n",
" | a.argmax(axis=None, out=None)\n",
" | \n",
" | Return indices of the maximum values along the given axis.\n",
" | \n",
" | Refer to `numpy.argmax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmax : equivalent function\n",
" | \n",
" | argmin(...)\n",
" | a.argmin(axis=None, out=None)\n",
" | \n",
" | Return indices of the minimum values along the given axis of `a`.\n",
" | \n",
" | Refer to `numpy.argmin` for detailed documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmin : equivalent function\n",
" | \n",
" | argpartition(...)\n",
" | a.argpartition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Returns the indices that would partition this array.\n",
" | \n",
" | Refer to `numpy.argpartition` for full documentation.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argpartition : equivalent function\n",
" | \n",
" | astype(...)\n",
" | a.astype(dtype, order='K', casting='unsafe', subok=True, copy=True)\n",
" | \n",
" | Copy of the array, cast to a specified type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | Typecode or data-type to which the array is cast.\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout order of the result.\n",
" | 'C' means C order, 'F' means Fortran order, 'A'\n",
" | means 'F' order if all the arrays are Fortran contiguous,\n",
" | 'C' order otherwise, and 'K' means as close to the\n",
" | order the array elements appear in memory as possible.\n",
" | Default is 'K'.\n",
" | casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional\n",
" | Controls what kind of data casting may occur. Defaults to 'unsafe'\n",
" | for backwards compatibility.\n",
" | \n",
" | * 'no' means the data types should not be cast at all.\n",
" | * 'equiv' means only byte-order changes are allowed.\n",
" | * 'safe' means only casts which can preserve values are allowed.\n",
" | * 'same_kind' means only safe casts or casts within a kind,\n",
" | like float64 to float32, are allowed.\n",
" | * 'unsafe' means any data conversions may be done.\n",
" | subok : bool, optional\n",
" | If True, then sub-classes will be passed-through (default), otherwise\n",
" | the returned array will be forced to be a base-class array.\n",
" | copy : bool, optional\n",
" | By default, astype always returns a newly allocated array. If this\n",
" | is set to false, and the `dtype`, `order`, and `subok`\n",
" | requirements are satisfied, the input array is returned instead\n",
" | of a copy.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | arr_t : ndarray\n",
" | Unless `copy` is False and the other conditions for returning the input\n",
" | array are satisfied (see description for `copy` input parameter), `arr_t`\n",
" | is a new array of the same shape as the input array, with dtype, order\n",
" | given by `dtype`, `order`.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | .. versionchanged:: 1.17.0\n",
" | Casting between a simple data type and a structured one is possible only\n",
" | for \"unsafe\" casting. Casting to multiple fields is allowed, but\n",
" | casting from multiple fields is not.\n",
" | \n",
" | .. versionchanged:: 1.9.0\n",
" | Casting from numeric to string types in 'safe' casting mode requires\n",
" | that the string dtype length is long enough to store the max\n",
" | integer/float value converted.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ComplexWarning\n",
" | When casting from complex to float or int. To avoid this,\n",
" | one should use ``a.real.astype(t)``.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 2.5])\n",
" | >>> x\n",
" | array([1. , 2. , 2.5])\n",
" | \n",
" | >>> x.astype(int)\n",
" | array([1, 2, 2])\n",
" | \n",
" | byteswap(...)\n",
" | a.byteswap(inplace=False)\n",
" | \n",
" | Swap the bytes of the array elements\n",
" | \n",
" | Toggle between low-endian and big-endian data representation by\n",
" | returning a byteswapped array, optionally swapped in-place.\n",
" | Arrays of byte-strings are not swapped. The real and imaginary\n",
" | parts of a complex number are swapped individually.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | inplace : bool, optional\n",
" | If ``True``, swap bytes in-place, default is ``False``.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | The byteswapped array. If `inplace` is ``True``, this is\n",
" | a view to self.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> A = np.array([1, 256, 8755], dtype=np.int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x1', '0x100', '0x2233']\n",
" | >>> A.byteswap(inplace=True)\n",
" | array([ 256, 1, 13090], dtype=int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x100', '0x1', '0x3322']\n",
" | \n",
" | Arrays of byte-strings are not swapped\n",
" | \n",
" | >>> A = np.array([b'ceg', b'fac'])\n",
" | >>> A.byteswap()\n",
" | array([b'ceg', b'fac'], dtype='|S3')\n",
" | \n",
" | ``A.newbyteorder().byteswap()`` produces an array with the same values\n",
" | but different representation in memory\n",
" | \n",
" | >>> A = np.array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,\n",
" | 0, 0], dtype=uint8)\n",
" | >>> A.newbyteorder().byteswap(inplace=True)\n",
" | array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0,\n",
" | 0, 3], dtype=uint8)\n",
" | \n",
" | choose(...)\n",
" | a.choose(choices, out=None, mode='raise')\n",
" | \n",
" | Use an index array to construct a new array from a set of choices.\n",
" | \n",
" | Refer to `numpy.choose` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.choose : equivalent function\n",
" | \n",
" | clip(...)\n",
" | a.clip(min=None, max=None, out=None, **kwargs)\n",
" | \n",
" | Return an array whose values are limited to ``[min, max]``.\n",
" | One of max or min must be given.\n",
" | \n",
" | Refer to `numpy.clip` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.clip : equivalent function\n",
" | \n",
" | compress(...)\n",
" | a.compress(condition, axis=None, out=None)\n",
" | \n",
" | Return selected slices of this array along given axis.\n",
" | \n",
" | Refer to `numpy.compress` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.compress : equivalent function\n",
" | \n",
" | conj(...)\n",
" | a.conj()\n",
" | \n",
" | Complex-conjugate all elements.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | conjugate(...)\n",
" | a.conjugate()\n",
" | \n",
" | Return the complex conjugate, element-wise.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | copy(...)\n",
" | a.copy(order='C')\n",
" | \n",
" | Return a copy of the array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout of the copy. 'C' means C-order,\n",
" | 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,\n",
" | 'C' otherwise. 'K' means match the layout of `a` as closely\n",
" | as possible. (Note that this function and :func:`numpy.copy` are very\n",
" | similar, but have different default values for their order=\n",
" | arguments.)\n",
" | \n",
" | See also\n",
" | --------\n",
" | numpy.copy\n",
" | numpy.copyto\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([[1,2,3],[4,5,6]], order='F')\n",
" | \n",
" | >>> y = x.copy()\n",
" | \n",
" | >>> x.fill(0)\n",
" | \n",
" | >>> x\n",
" | array([[0, 0, 0],\n",
" | [0, 0, 0]])\n",
" | \n",
" | >>> y\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | \n",
" | >>> y.flags['C_CONTIGUOUS']\n",
" | True\n",
" | \n",
" | cumprod(...)\n",
" | a.cumprod(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative product of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumprod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumprod : equivalent function\n",
" | \n",
" | cumsum(...)\n",
" | a.cumsum(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative sum of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumsum` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumsum : equivalent function\n",
" | \n",
" | diagonal(...)\n",
" | a.diagonal(offset=0, axis1=0, axis2=1)\n",
" | \n",
" | Return specified diagonals. In NumPy 1.9 the returned array is a\n",
" | read-only view instead of a copy as in previous NumPy versions. In\n",
" | a future version the read-only restriction will be removed.\n",
" | \n",
" | Refer to :func:`numpy.diagonal` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.diagonal : equivalent function\n",
" | \n",
" | dot(...)\n",
" | a.dot(b, out=None)\n",
" | \n",
" | Dot product of two arrays.\n",
" | \n",
" | Refer to `numpy.dot` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dot : equivalent function\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.eye(2)\n",
" | >>> b = np.ones((2, 2)) * 2\n",
" | >>> a.dot(b)\n",
" | array([[2., 2.],\n",
" | [2., 2.]])\n",
" | \n",
" | This array method can be conveniently chained:\n",
" | \n",
" | >>> a.dot(b).dot(b)\n",
" | array([[8., 8.],\n",
" | [8., 8.]])\n",
" | \n",
" | dump(...)\n",
" | a.dump(file)\n",
" | \n",
" | Dump a pickle of the array to the specified file.\n",
" | The array can be read back with pickle.load or numpy.load.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | file : str or Path\n",
" | A string naming the dump file.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | dumps(...)\n",
" | a.dumps()\n",
" | \n",
" | Returns the pickle of the array as a string.\n",
" | pickle.loads or numpy.loads will convert the string back to an array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | fill(...)\n",
" | a.fill(value)\n",
" | \n",
" | Fill the array with a scalar value.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | value : scalar\n",
" | All elements of `a` will be assigned this value.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([1, 2])\n",
" | >>> a.fill(0)\n",
" | >>> a\n",
" | array([0, 0])\n",
" | >>> a = np.empty(2)\n",
" | >>> a.fill(1)\n",
" | >>> a\n",
" | array([1., 1.])\n",
" | \n",
" | flatten(...)\n",
" | a.flatten(order='C')\n",
" | \n",
" | Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | 'C' means to flatten in row-major (C-style) order.\n",
" | 'F' means to flatten in column-major (Fortran-\n",
" | style) order. 'A' means to flatten in column-major\n",
" | order if `a` is Fortran *contiguous* in memory,\n",
" | row-major order otherwise. 'K' means to flatten\n",
" | `a` in the order the elements occur in memory.\n",
" | The default is 'C'.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : ndarray\n",
" | A copy of the input array, flattened to one dimension.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ravel : Return a flattened array.\n",
" | flat : A 1-D flat iterator over the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,2], [3,4]])\n",
" | >>> a.flatten()\n",
" | array([1, 2, 3, 4])\n",
" | >>> a.flatten('F')\n",
" | array([1, 3, 2, 4])\n",
" | \n",
" | getfield(...)\n",
" | a.getfield(dtype, offset=0)\n",
" | \n",
" | Returns a field of the given array as a certain type.\n",
" | \n",
" | A field is a view of the array data with a given data-type. The values in\n",
" | the view are determined by the given type and the offset into the current\n",
" | array in bytes. The offset needs to be such that the view dtype fits in the\n",
" | array dtype; for example an array of dtype complex128 has 16-byte elements.\n",
" | If taking a view with a 32-bit integer (4 bytes), the offset needs to be\n",
" | between 0 and 12 bytes.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | The data type of the view. The dtype size of the view can not be larger\n",
" | than that of the array itself.\n",
" | offset : int\n",
" | Number of bytes to skip before beginning the element view.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.diag([1.+1.j]*2)\n",
" | >>> x[1, 1] = 2 + 4.j\n",
" | >>> x\n",
" | array([[1.+1.j, 0.+0.j],\n",
" | [0.+0.j, 2.+4.j]])\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0.],\n",
" | [0., 2.]])\n",
" | \n",
" | By choosing an offset of 8 bytes we can select the complex part of the\n",
" | array for our view:\n",
" | \n",
" | >>> x.getfield(np.float64, offset=8)\n",
" | array([[1., 0.],\n",
" | [0., 4.]])\n",
" | \n",
" | item(...)\n",
" | a.item(*args)\n",
" | \n",
" | Copy an element of an array to a standard Python scalar and return it.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments (variable number and type)\n",
" | \n",
" | * none: in this case, the method only works for arrays\n",
" | with one element (`a.size == 1`), which element is\n",
" | copied into a standard Python scalar object and returned.\n",
" | \n",
" | * int_type: this argument is interpreted as a flat index into\n",
" | the array, specifying which element to copy and return.\n",
" | \n",
" | * tuple of int_types: functions as does a single int_type argument,\n",
" | except that the argument is interpreted as an nd-index into the\n",
" | array.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | z : Standard Python scalar object\n",
" | A copy of the specified element of the array as a suitable\n",
" | Python scalar\n",
" | \n",
" | Notes\n",
" | -----\n",
" | When the data type of `a` is longdouble or clongdouble, item() returns\n",
" | a scalar array object because there is no available Python scalar that\n",
" | would not lose information. Void arrays return a buffer object for item(),\n",
" | unless fields are defined, in which case a tuple is returned.\n",
" | \n",
" | `item` is very similar to a[args], except, instead of an array scalar,\n",
" | a standard Python scalar is returned. This can be useful for speeding up\n",
" | access to elements of the array and doing arithmetic on elements of the\n",
" | array using Python's optimized math.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.item(3)\n",
" | 1\n",
" | >>> x.item(7)\n",
" | 0\n",
" | >>> x.item((0, 1))\n",
" | 2\n",
" | >>> x.item((2, 2))\n",
" | 1\n",
" | \n",
" | itemset(...)\n",
" | a.itemset(*args)\n",
" | \n",
" | Insert scalar into an array (scalar is cast to array's dtype, if possible)\n",
" | \n",
" | There must be at least 1 argument, and define the last argument\n",
" | as *item*. Then, ``a.itemset(*args)`` is equivalent to but faster\n",
" | than ``a[args] = item``. The item should be a scalar value and `args`\n",
" | must select a single item in the array `a`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments\n",
" | If one argument: a scalar, only used in case `a` is of size 1.\n",
" | If two arguments: the last argument is the value to be set\n",
" | and must be a scalar, the first argument specifies a single array\n",
" | element location. It is either an int or a tuple.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Compared to indexing syntax, `itemset` provides some speed increase\n",
" | for placing a scalar into a particular location in an `ndarray`,\n",
" | if you must do this. However, generally this is discouraged:\n",
" | among other problems, it complicates the appearance of the code.\n",
" | Also, when using `itemset` (and `item`) inside a loop, be sure\n",
" | to assign the methods to a local variable to avoid the attribute\n",
" | look-up at each loop iteration.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.itemset(4, 0)\n",
" | >>> x.itemset((2, 2), 9)\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 0, 6],\n",
" | [1, 0, 9]])\n",
" | \n",
" | max(...)\n",
" | a.max(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the maximum along a given axis.\n",
" | \n",
" | Refer to `numpy.amax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amax : equivalent function\n",
" | \n",
" | mean(...)\n",
" | a.mean(axis=None, dtype=None, out=None, keepdims=False)\n",
" | \n",
" | Returns the average of the array elements along given axis.\n",
" | \n",
" | Refer to `numpy.mean` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.mean : equivalent function\n",
" | \n",
" | min(...)\n",
" | a.min(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the minimum along a given axis.\n",
" | \n",
" | Refer to `numpy.amin` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amin : equivalent function\n",
" | \n",
" | newbyteorder(...)\n",
" | arr.newbyteorder(new_order='S')\n",
" | \n",
" | Return the array with the same data viewed with a different byte order.\n",
" | \n",
" | Equivalent to::\n",
" | \n",
" | arr.view(arr.dtype.newbytorder(new_order))\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the array data\n",
" | type.\n",
" | \n",
" | \n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : string, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | below. `new_order` codes can be any of:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_arr : array\n",
" | New array object with the dtype reflecting given change to the\n",
" | byte order.\n",
" | \n",
" | nonzero(...)\n",
" | a.nonzero()\n",
" | \n",
" | Return the indices of the elements that are non-zero.\n",
" | \n",
" | Refer to `numpy.nonzero` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.nonzero : equivalent function\n",
" | \n",
" | prod(...)\n",
" | a.prod(axis=None, dtype=None, out=None, keepdims=False, initial=1, where=True)\n",
" | \n",
" | Return the product of the array elements over the given axis\n",
" | \n",
" | Refer to `numpy.prod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.prod : equivalent function\n",
" | \n",
" | ptp(...)\n",
" | a.ptp(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Peak to peak (maximum - minimum) value along a given axis.\n",
" | \n",
" | Refer to `numpy.ptp` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ptp : equivalent function\n",
" | \n",
" | put(...)\n",
" | a.put(indices, values, mode='raise')\n",
" | \n",
" | Set ``a.flat[n] = values[n]`` for all `n` in indices.\n",
" | \n",
" | Refer to `numpy.put` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.put : equivalent function\n",
" | \n",
" | ravel(...)\n",
" | a.ravel([order])\n",
" | \n",
" | Return a flattened array.\n",
" | \n",
" | Refer to `numpy.ravel` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ravel : equivalent function\n",
" | \n",
" | ndarray.flat : a flat iterator on the array.\n",
" | \n",
" | repeat(...)\n",
" | a.repeat(repeats, axis=None)\n",
" | \n",
" | Repeat elements of an array.\n",
" | \n",
" | Refer to `numpy.repeat` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.repeat : equivalent function\n",
" | \n",
" | reshape(...)\n",
" | a.reshape(shape, order='C')\n",
" | \n",
" | Returns an array containing the same data with a new shape.\n",
" | \n",
" | Refer to `numpy.reshape` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : equivalent function\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Unlike the free function `numpy.reshape`, this method on `ndarray` allows\n",
" | the elements of the shape parameter to be passed in as separate arguments.\n",
" | For example, ``a.reshape(10, 11)`` is equivalent to\n",
" | ``a.reshape((10, 11))``.\n",
" | \n",
" | resize(...)\n",
" | a.resize(new_shape, refcheck=True)\n",
" | \n",
" | Change shape and size of array in-place.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_shape : tuple of ints, or `n` ints\n",
" | Shape of resized array.\n",
" | refcheck : bool, optional\n",
" | If False, reference count will not be checked. Default is True.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ValueError\n",
" | If `a` does not own its own data or references or views to it exist,\n",
" | and the data memory must be changed.\n",
" | PyPy only: will always raise if the data memory must be changed, since\n",
" | there is no reliable way to determine if references or views to it\n",
" | exist.\n",
" | \n",
" | SystemError\n",
" | If the `order` keyword argument is specified. This behaviour is a\n",
" | bug in NumPy.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | resize : Return a new array with the specified shape.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This reallocates space for the data area if necessary.\n",
" | \n",
" | Only contiguous arrays (data elements consecutive in memory) can be\n",
" | resized.\n",
" | \n",
" | The purpose of the reference count check is to make sure you\n",
" | do not use this array as a buffer for another Python object and then\n",
" | reallocate the memory. However, reference counts can increase in\n",
" | other ways so if you are sure that you have not shared the memory\n",
" | for this array with another Python object, then you may safely set\n",
" | `refcheck` to False.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Shrinking an array: array is flattened (in the order that the data are\n",
" | stored in memory), resized, and reshaped:\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='C')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [1]])\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='F')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [2]])\n",
" | \n",
" | Enlarging an array: as above, but missing entries are filled with zeros:\n",
" | \n",
" | >>> b = np.array([[0, 1], [2, 3]])\n",
" | >>> b.resize(2, 3) # new_shape parameter doesn't have to be a tuple\n",
" | >>> b\n",
" | array([[0, 1, 2],\n",
" | [3, 0, 0]])\n",
" | \n",
" | Referencing an array prevents resizing...\n",
" | \n",
" | >>> c = a\n",
" | >>> a.resize((1, 1))\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: cannot resize an array that references or is referenced ...\n",
" | \n",
" | Unless `refcheck` is False:\n",
" | \n",
" | >>> a.resize((1, 1), refcheck=False)\n",
" | >>> a\n",
" | array([[0]])\n",
" | >>> c\n",
" | array([[0]])\n",
" | \n",
" | round(...)\n",
" | a.round(decimals=0, out=None)\n",
" | \n",
" | Return `a` with each element rounded to the given number of decimals.\n",
" | \n",
" | Refer to `numpy.around` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.around : equivalent function\n",
" | \n",
" | searchsorted(...)\n",
" | a.searchsorted(v, side='left', sorter=None)\n",
" | \n",
" | Find indices where elements of v should be inserted in a to maintain order.\n",
" | \n",
" | For full documentation, see `numpy.searchsorted`\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.searchsorted : equivalent function\n",
" | \n",
" | setfield(...)\n",
" | a.setfield(val, dtype, offset=0)\n",
" | \n",
" | Put a value into a specified place in a field defined by a data-type.\n",
" | \n",
" | Place `val` into `a`'s field defined by `dtype` and beginning `offset`\n",
" | bytes into the field.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | val : object\n",
" | Value to be placed in field.\n",
" | dtype : dtype object\n",
" | Data-type of the field in which to place `val`.\n",
" | offset : int, optional\n",
" | The number of bytes into the field at which to place `val`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | See Also\n",
" | --------\n",
" | getfield\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.eye(3)\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | >>> x.setfield(3, np.int32)\n",
" | >>> x.getfield(np.int32)\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3],\n",
" | [3, 3, 3]], dtype=int32)\n",
" | >>> x\n",
" | array([[1.0e+000, 1.5e-323, 1.5e-323],\n",
" | [1.5e-323, 1.0e+000, 1.5e-323],\n",
" | [1.5e-323, 1.5e-323, 1.0e+000]])\n",
" | >>> x.setfield(np.eye(3), np.int32)\n",
" | >>> x\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | \n",
" | setflags(...)\n",
" | a.setflags(write=None, align=None, uic=None)\n",
" | \n",
" | Set array flags WRITEABLE, ALIGNED, (WRITEBACKIFCOPY and UPDATEIFCOPY),\n",
" | respectively.\n",
" | \n",
" | These Boolean-valued flags affect how numpy interprets the memory\n",
" | area used by `a` (see Notes below). The ALIGNED flag can only\n",
" | be set to True if the data is actually aligned according to the type.\n",
" | The WRITEBACKIFCOPY and (deprecated) UPDATEIFCOPY flags can never be set\n",
" | to True. The flag WRITEABLE can only be set to True if the array owns its\n",
" | own memory, or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface, or is a string. (The exception for string is made so that\n",
" | unpickling can be done without copying memory.)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | write : bool, optional\n",
" | Describes whether or not `a` can be written to.\n",
" | align : bool, optional\n",
" | Describes whether or not `a` is aligned properly for its type.\n",
" | uic : bool, optional\n",
" | Describes whether or not `a` is a copy of another \"base\" array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Array flags provide information about how the memory area used\n",
" | for the array is to be interpreted. There are 7 Boolean flags\n",
" | in use, only four of which can be changed by the user:\n",
" | WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED.\n",
" | \n",
" | WRITEABLE (W) the data area can be written to;\n",
" | \n",
" | ALIGNED (A) the data and strides are aligned appropriately for the hardware\n",
" | (as determined by the compiler);\n",
" | \n",
" | UPDATEIFCOPY (U) (deprecated), replaced by WRITEBACKIFCOPY;\n",
" | \n",
" | WRITEBACKIFCOPY (X) this array is a copy of some other array (referenced\n",
" | by .base). When the C-API function PyArray_ResolveWritebackIfCopy is\n",
" | called, the base array will be updated with the contents of this array.\n",
" | \n",
" | All flags can be accessed using the single (upper case) letter as well\n",
" | as the full name.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.array([[3, 1, 7],\n",
" | ... [2, 0, 0],\n",
" | ... [8, 5, 9]])\n",
" | >>> y\n",
" | array([[3, 1, 7],\n",
" | [2, 0, 0],\n",
" | [8, 5, 9]])\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : True\n",
" | ALIGNED : True\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(write=0, align=0)\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : False\n",
" | ALIGNED : False\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(uic=1)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: cannot set WRITEBACKIFCOPY flag to True\n",
" | \n",
" | sort(...)\n",
" | a.sort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Sort an array in-place. Refer to `numpy.sort` for full documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, optional\n",
" | Sorting algorithm. The default is 'quicksort'. Note that both 'stable'\n",
" | and 'mergesort' use timsort under the covers and, in general, the\n",
" | actual implementation will vary with datatype. The 'mergesort' option\n",
" | is retained for backwards compatibility.\n",
" | \n",
" | .. versionchanged:: 1.15.0.\n",
" | The 'stable' option was added.\n",
" | \n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.sort : Return a sorted copy of an array.\n",
" | numpy.argsort : Indirect sort.\n",
" | numpy.lexsort : Indirect stable sort on multiple keys.\n",
" | numpy.searchsorted : Find elements in sorted array.\n",
" | numpy.partition: Partial sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See `numpy.sort` for notes on the different sorting algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,4], [3,1]])\n",
" | >>> a.sort(axis=1)\n",
" | >>> a\n",
" | array([[1, 4],\n",
" | [1, 3]])\n",
" | >>> a.sort(axis=0)\n",
" | >>> a\n",
" | array([[1, 3],\n",
" | [1, 4]])\n",
" | \n",
" | Use the `order` keyword to specify a field to use when sorting a\n",
" | structured array:\n",
" | \n",
" | >>> a = np.array([('a', 2), ('c', 1)], dtype=[('x', 'S1'), ('y', int)])\n",
" | >>> a.sort(order='y')\n",
" | >>> a\n",
" | array([(b'c', 1), (b'a', 2)],\n",
" | dtype=[('x', 'S1'), ('y', '>> x = np.array([[0, 1], [2, 3]], dtype='>> x.tobytes()\n",
" | b'\\x00\\x00\\x01\\x00\\x02\\x00\\x03\\x00'\n",
" | >>> x.tobytes('C') == x.tobytes()\n",
" | True\n",
" | >>> x.tobytes('F')\n",
" | b'\\x00\\x00\\x02\\x00\\x01\\x00\\x03\\x00'\n",
" | \n",
" | tofile(...)\n",
" | a.tofile(fid, sep=\"\", format=\"%s\")\n",
" | \n",
" | Write array to a file as text or binary (default).\n",
" | \n",
" | Data is always written in 'C' order, independent of the order of `a`.\n",
" | The data produced by this method can be recovered using the function\n",
" | fromfile().\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | fid : file or str or Path\n",
" | An open file object, or a string containing a filename.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | sep : str\n",
" | Separator between array items for text output.\n",
" | If \"\" (empty), a binary file is written, equivalent to\n",
" | ``file.write(a.tobytes())``.\n",
" | format : str\n",
" | Format string for text file output.\n",
" | Each entry in the array is formatted to text by first converting\n",
" | it to the closest Python type, and then using \"format\" % item.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is a convenience function for quick storage of array data.\n",
" | Information on endianness and precision is lost, so this method is not a\n",
" | good choice for files intended to archive data or transport data between\n",
" | machines with different endianness. Some of these problems can be overcome\n",
" | by outputting the data as text files, at the expense of speed and file\n",
" | size.\n",
" | \n",
" | When fid is a file object, array contents are directly written to the\n",
" | file, bypassing the file object's ``write`` method. As a result, tofile\n",
" | cannot be used with files objects supporting compression (e.g., GzipFile)\n",
" | or file-like objects that do not support ``fileno()`` (e.g., BytesIO).\n",
" | \n",
" | tolist(...)\n",
" | a.tolist()\n",
" | \n",
" | Return the array as an ``a.ndim``-levels deep nested list of Python scalars.\n",
" | \n",
" | Return a copy of the array data as a (nested) Python list.\n",
" | Data items are converted to the nearest compatible builtin Python type, via\n",
" | the `~numpy.ndarray.item` function.\n",
" | \n",
" | If ``a.ndim`` is 0, then since the depth of the nested list is 0, it will\n",
" | not be a list at all, but a simple Python scalar.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | none\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : object, or list of object, or list of list of object, or ...\n",
" | The possibly nested list of array elements.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The array may be recreated via ``a = np.array(a.tolist())``, although this\n",
" | may sometimes lose precision.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | For a 1D array, ``a.tolist()`` is almost the same as ``list(a)``,\n",
" | except that ``tolist`` changes numpy scalars to Python scalars:\n",
" | \n",
" | >>> a = np.uint32([1, 2])\n",
" | >>> a_list = list(a)\n",
" | >>> a_list\n",
" | [1, 2]\n",
" | >>> type(a_list[0])\n",
" | \n",
" | >>> a_tolist = a.tolist()\n",
" | >>> a_tolist\n",
" | [1, 2]\n",
" | >>> type(a_tolist[0])\n",
" | \n",
" | \n",
" | Additionally, for a 2D array, ``tolist`` applies recursively:\n",
" | \n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> list(a)\n",
" | [array([1, 2]), array([3, 4])]\n",
" | >>> a.tolist()\n",
" | [[1, 2], [3, 4]]\n",
" | \n",
" | The base case for this recursion is a 0D array:\n",
" | \n",
" | >>> a = np.array(1)\n",
" | >>> list(a)\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | TypeError: iteration over a 0-d array\n",
" | >>> a.tolist()\n",
" | 1\n",
" | \n",
" | tostring(...)\n",
" | a.tostring(order='C')\n",
" | \n",
" | A compatibility alias for `tobytes`, with exactly the same behavior.\n",
" | \n",
" | Despite its name, it returns `bytes` not `str`\\ s.\n",
" | \n",
" | .. deprecated:: 1.19.0\n",
" | \n",
" | trace(...)\n",
" | a.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None)\n",
" | \n",
" | Return the sum along diagonals of the array.\n",
" | \n",
" | Refer to `numpy.trace` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.trace : equivalent function\n",
" | \n",
" | transpose(...)\n",
" | a.transpose(*axes)\n",
" | \n",
" | Returns a view of the array with axes transposed.\n",
" | \n",
" | For a 1-D array this has no effect, as a transposed vector is simply the\n",
" | same vector. To convert a 1-D array into a 2D column vector, an additional\n",
" | dimension must be added. `np.atleast2d(a).T` achieves this, as does\n",
" | `a[:, np.newaxis]`.\n",
" | For a 2-D array, this is a standard matrix transpose.\n",
" | For an n-D array, if axes are given, their order indicates how the\n",
" | axes are permuted (see Examples). If axes are not provided and\n",
" | ``a.shape = (i[0], i[1], ... i[n-2], i[n-1])``, then\n",
" | ``a.transpose().shape = (i[n-1], i[n-2], ... i[1], i[0])``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axes : None, tuple of ints, or `n` ints\n",
" | \n",
" | * None or no argument: reverses the order of the axes.\n",
" | \n",
" | * tuple of ints: `i` in the `j`-th place in the tuple means `a`'s\n",
" | `i`-th axis becomes `a.transpose()`'s `j`-th axis.\n",
" | \n",
" | * `n` ints: same as an n-tuple of the same ints (this form is\n",
" | intended simply as a \"convenience\" alternative to the tuple form)\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | View of `a`, with axes suitably permuted.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.T : Array property returning the array transposed.\n",
" | ndarray.reshape : Give a new shape to an array without changing its data.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> a\n",
" | array([[1, 2],\n",
" | [3, 4]])\n",
" | >>> a.transpose()\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose((1, 0))\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose(1, 0)\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | var(...)\n",
" | a.var(axis=None, dtype=None, out=None, ddof=0, keepdims=False)\n",
" | \n",
" | Returns the variance of the array elements, along given axis.\n",
" | \n",
" | Refer to `numpy.var` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.var : equivalent function\n",
" | \n",
" | view(...)\n",
" | a.view([dtype][, type])\n",
" | \n",
" | New view of array with the same data.\n",
" | \n",
" | .. note::\n",
" | Passing None for ``dtype`` is different from omitting the parameter,\n",
" | since the former invokes ``dtype(None)`` which is an alias for\n",
" | ``dtype('float_')``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : data-type or ndarray sub-class, optional\n",
" | Data-type descriptor of the returned view, e.g., float32 or int16.\n",
" | Omitting it results in the view having the same data-type as `a`.\n",
" | This argument can also be specified as an ndarray sub-class, which\n",
" | then specifies the type of the returned object (this is equivalent to\n",
" | setting the ``type`` parameter).\n",
" | type : Python type, optional\n",
" | Type of the returned view, e.g., ndarray or matrix. Again, omission\n",
" | of the parameter results in type preservation.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | ``a.view()`` is used two different ways:\n",
" | \n",
" | ``a.view(some_dtype)`` or ``a.view(dtype=some_dtype)`` constructs a view\n",
" | of the array's memory with a different data-type. This can cause a\n",
" | reinterpretation of the bytes of memory.\n",
" | \n",
" | ``a.view(ndarray_subclass)`` or ``a.view(type=ndarray_subclass)`` just\n",
" | returns an instance of `ndarray_subclass` that looks at the same array\n",
" | (same shape, dtype, etc.) This does not cause a reinterpretation of the\n",
" | memory.\n",
" | \n",
" | For ``a.view(some_dtype)``, if ``some_dtype`` has a different number of\n",
" | bytes per entry than the previous dtype (for example, converting a\n",
" | regular array to a structured array), then the behavior of the view\n",
" | cannot be predicted just from the superficial appearance of ``a`` (shown\n",
" | by ``print(a)``). It also depends on exactly how ``a`` is stored in\n",
" | memory. Therefore if ``a`` is C-ordered versus fortran-ordered, versus\n",
" | defined as a slice or transpose, etc., the view may give different\n",
" | results.\n",
" | \n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([(1, 2)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | \n",
" | Viewing array data using a different type and dtype:\n",
" | \n",
" | >>> y = x.view(dtype=np.int16, type=np.matrix)\n",
" | >>> y\n",
" | matrix([[513]], dtype=int16)\n",
" | >>> print(type(y))\n",
" | \n",
" | \n",
" | Creating a view on a structured array so it can be used in calculations\n",
" | \n",
" | >>> x = np.array([(1, 2),(3,4)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | >>> xv = x.view(dtype=np.int8).reshape(-1,2)\n",
" | >>> xv\n",
" | array([[1, 2],\n",
" | [3, 4]], dtype=int8)\n",
" | >>> xv.mean(0)\n",
" | array([2., 3.])\n",
" | \n",
" | Making changes to the view changes the underlying array\n",
" | \n",
" | >>> xv[0,1] = 20\n",
" | >>> x\n",
" | array([(1, 20), (3, 4)], dtype=[('a', 'i1'), ('b', 'i1')])\n",
" | \n",
" | Using a view to convert an array to a recarray:\n",
" | \n",
" | >>> z = x.view(np.recarray)\n",
" | >>> z.a\n",
" | array([1, 3], dtype=int8)\n",
" | \n",
" | Views share data:\n",
" | \n",
" | >>> x[0] = (9, 10)\n",
" | >>> z[0]\n",
" | (9, 10)\n",
" | \n",
" | Views that change the dtype size (bytes per entry) should normally be\n",
" | avoided on arrays defined by slices, transposes, fortran-ordering, etc.:\n",
" | \n",
" | >>> x = np.array([[1,2,3],[4,5,6]], dtype=np.int16)\n",
" | >>> y = x[:, 0:2]\n",
" | >>> y\n",
" | array([[1, 2],\n",
" | [4, 5]], dtype=int16)\n",
" | >>> y.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: To change to a dtype of a different size, the array must be C-contiguous\n",
" | >>> z = y.copy()\n",
" | >>> z.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | array([[(1, 2)],\n",
" | [(4, 5)]], dtype=[('width', '>> x = np.array([[1.,2.],[3.,4.]])\n",
" | >>> x\n",
" | array([[ 1., 2.],\n",
" | [ 3., 4.]])\n",
" | >>> x.T\n",
" | array([[ 1., 3.],\n",
" | [ 2., 4.]])\n",
" | >>> x = np.array([1.,2.,3.,4.])\n",
" | >>> x\n",
" | array([ 1., 2., 3., 4.])\n",
" | >>> x.T\n",
" | array([ 1., 2., 3., 4.])\n",
" | \n",
" | See Also\n",
" | --------\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side.\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: C-struct side.\n",
" | \n",
" | base\n",
" | Base object if memory is from some other object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | The base of an array that owns its memory is None:\n",
" | \n",
" | >>> x = np.array([1,2,3,4])\n",
" | >>> x.base is None\n",
" | True\n",
" | \n",
" | Slicing creates a view, whose memory is shared with x:\n",
" | \n",
" | >>> y = x[2:]\n",
" | >>> y.base is x\n",
" | True\n",
" | \n",
" | ctypes\n",
" | An object to simplify the interaction of the array with the ctypes\n",
" | module.\n",
" | \n",
" | This attribute creates an object that makes it easier to use arrays\n",
" | when calling shared libraries with the ctypes module. The returned\n",
" | object has, among others, data, shape, and strides attributes (see\n",
" | Notes below) which themselves return ctypes objects that can be used\n",
" | as arguments to a shared library.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | c : Python object\n",
" | Possessing attributes data, shape, strides, etc.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ctypeslib\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Below are the public attributes of this object which were documented\n",
" | in \"Guide to NumPy\" (we have omitted undocumented public attributes,\n",
" | as well as documented private attributes):\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.data\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.shape\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.strides\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.data_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.shape_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.strides_as\n",
" | :noindex:\n",
" | \n",
" | If the ctypes module is not available, then the ctypes attribute\n",
" | of array objects still returns something useful, but ctypes objects\n",
" | are not returned and errors may be raised instead. In particular,\n",
" | the object will still have the ``as_parameter`` attribute which will\n",
" | return an integer equal to the data attribute.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> import ctypes\n",
" | >>> x = np.array([[0, 1], [2, 3]], dtype=np.int32)\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]], dtype=int32)\n",
" | >>> x.ctypes.data\n",
" | 31962608 # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32))\n",
" | <__main__.LP_c_uint object at 0x7ff2fc1fc200> # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32)).contents\n",
" | c_uint(0)\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint64)).contents\n",
" | c_ulong(4294967296)\n",
" | >>> x.ctypes.shape\n",
" | # may vary\n",
" | >>> x.ctypes.strides\n",
" | # may vary\n",
" | \n",
" | data\n",
" | Python buffer object pointing to the start of the array's data.\n",
" | \n",
" | dtype\n",
" | Data-type of the array's elements.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | d : numpy dtype object\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dtype\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]])\n",
" | >>> x.dtype\n",
" | dtype('int32')\n",
" | >>> type(x.dtype)\n",
" | \n",
" | \n",
" | flags\n",
" | Information about the memory layout of the array.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | C_CONTIGUOUS (C)\n",
" | The data is in a single, C-style contiguous segment.\n",
" | F_CONTIGUOUS (F)\n",
" | The data is in a single, Fortran-style contiguous segment.\n",
" | OWNDATA (O)\n",
" | The array owns the memory it uses or borrows it from another object.\n",
" | WRITEABLE (W)\n",
" | The data area can be written to. Setting this to False locks\n",
" | the data, making it read-only. A view (slice, etc.) inherits WRITEABLE\n",
" | from its base array at creation time, but a view of a writeable\n",
" | array may be subsequently locked while the base array remains writeable.\n",
" | (The opposite is not true, in that a view of a locked array may not\n",
" | be made writeable. However, currently, locking a base object does not\n",
" | lock any views that already reference it, so under that circumstance it\n",
" | is possible to alter the contents of a locked array via a previously\n",
" | created writeable view onto it.) Attempting to change a non-writeable\n",
" | array raises a RuntimeError exception.\n",
" | ALIGNED (A)\n",
" | The data and all elements are aligned appropriately for the hardware.\n",
" | WRITEBACKIFCOPY (X)\n",
" | This array is a copy of some other array. The C-API function\n",
" | PyArray_ResolveWritebackIfCopy must be called before deallocating\n",
" | to the base array will be updated with the contents of this array.\n",
" | UPDATEIFCOPY (U)\n",
" | (Deprecated, use WRITEBACKIFCOPY) This array is a copy of some other array.\n",
" | When this array is\n",
" | deallocated, the base array will be updated with the contents of\n",
" | this array.\n",
" | FNC\n",
" | F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | FORC\n",
" | F_CONTIGUOUS or C_CONTIGUOUS (one-segment test).\n",
" | BEHAVED (B)\n",
" | ALIGNED and WRITEABLE.\n",
" | CARRAY (CA)\n",
" | BEHAVED and C_CONTIGUOUS.\n",
" | FARRAY (FA)\n",
" | BEHAVED and F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The `flags` object can be accessed dictionary-like (as in ``a.flags['WRITEABLE']``),\n",
" | or by using lowercased attribute names (as in ``a.flags.writeable``). Short flag\n",
" | names are only supported in dictionary access.\n",
" | \n",
" | Only the WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be\n",
" | changed by the user, via direct assignment to the attribute or dictionary\n",
" | entry, or by calling `ndarray.setflags`.\n",
" | \n",
" | The array flags cannot be set arbitrarily:\n",
" | \n",
" | - UPDATEIFCOPY can only be set ``False``.\n",
" | - WRITEBACKIFCOPY can only be set ``False``.\n",
" | - ALIGNED can only be set ``True`` if the data is truly aligned.\n",
" | - WRITEABLE can only be set ``True`` if the array owns its own memory\n",
" | or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface or is a string.\n",
" | \n",
" | Arrays can be both C-style and Fortran-style contiguous simultaneously.\n",
" | This is clear for 1-dimensional arrays, but can also be true for higher\n",
" | dimensional arrays.\n",
" | \n",
" | Even for contiguous arrays a stride for a given dimension\n",
" | ``arr.strides[dim]`` may be *arbitrary* if ``arr.shape[dim] == 1``\n",
" | or the array has no elements.\n",
" | It does *not* generally hold that ``self.strides[-1] == self.itemsize``\n",
" | for C-style contiguous arrays or ``self.strides[0] == self.itemsize`` for\n",
" | Fortran-style contiguous arrays is true.\n",
" | \n",
" | flat\n",
" | A 1-D iterator over the array.\n",
" | \n",
" | This is a `numpy.flatiter` instance, which acts similarly to, but is not\n",
" | a subclass of, Python's built-in iterator object.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | flatten : Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(1, 7).reshape(2, 3)\n",
" | >>> x\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | >>> x.flat[3]\n",
" | 4\n",
" | >>> x.T\n",
" | array([[1, 4],\n",
" | [2, 5],\n",
" | [3, 6]])\n",
" | >>> x.T.flat[3]\n",
" | 5\n",
" | >>> type(x.flat)\n",
" | \n",
" | \n",
" | An assignment example:\n",
" | \n",
" | >>> x.flat = 3; x\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3]])\n",
" | >>> x.flat[[1,4]] = 1; x\n",
" | array([[3, 1, 3],\n",
" | [3, 1, 3]])\n",
" | \n",
" | imag\n",
" | The imaginary part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.imag\n",
" | array([ 0. , 0.70710678])\n",
" | >>> x.imag.dtype\n",
" | dtype('float64')\n",
" | \n",
" | itemsize\n",
" | Length of one array element in bytes.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1,2,3], dtype=np.float64)\n",
" | >>> x.itemsize\n",
" | 8\n",
" | >>> x = np.array([1,2,3], dtype=np.complex128)\n",
" | >>> x.itemsize\n",
" | 16\n",
" | \n",
" | nbytes\n",
" | Total bytes consumed by the elements of the array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Does not include memory consumed by non-element attributes of the\n",
" | array object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3,5,2), dtype=np.complex128)\n",
" | >>> x.nbytes\n",
" | 480\n",
" | >>> np.prod(x.shape) * x.itemsize\n",
" | 480\n",
" | \n",
" | ndim\n",
" | Number of array dimensions.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> x.ndim\n",
" | 1\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.ndim\n",
" | 3\n",
" | \n",
" | real\n",
" | The real part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.real\n",
" | array([ 1. , 0.70710678])\n",
" | >>> x.real.dtype\n",
" | dtype('float64')\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.real : equivalent function\n",
" | \n",
" | shape\n",
" | Tuple of array dimensions.\n",
" | \n",
" | The shape property is usually used to get the current shape of an array,\n",
" | but may also be used to reshape the array in-place by assigning a tuple of\n",
" | array dimensions to it. As with `numpy.reshape`, one of the new shape\n",
" | dimensions can be -1, in which case its value is inferred from the size of\n",
" | the array and the remaining dimensions. Reshaping an array in-place will\n",
" | fail if a copy is required.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3, 4])\n",
" | >>> x.shape\n",
" | (4,)\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.shape\n",
" | (2, 3, 4)\n",
" | >>> y.shape = (3, 8)\n",
" | >>> y\n",
" | array([[ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.]])\n",
" | >>> y.shape = (3, 6)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: total size of new array must be unchanged\n",
" | >>> np.zeros((4,2))[::2].shape = (-1,)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | AttributeError: Incompatible shape for in-place modification. Use\n",
" | `.reshape()` to make a copy with the desired shape.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : similar function\n",
" | ndarray.reshape : similar method\n",
" | \n",
" | size\n",
" | Number of elements in the array.\n",
" | \n",
" | Equal to ``np.prod(a.shape)``, i.e., the product of the array's\n",
" | dimensions.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | `a.size` returns a standard arbitrary precision Python integer. This\n",
" | may not be the case with other methods of obtaining the same value\n",
" | (like the suggested ``np.prod(a.shape)``, which returns an instance\n",
" | of ``np.int_``), and may be relevant if the value is used further in\n",
" | calculations that may overflow a fixed size integer type.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3, 5, 2), dtype=np.complex128)\n",
" | >>> x.size\n",
" | 30\n",
" | >>> np.prod(x.shape)\n",
" | 30\n",
" | \n",
" | strides\n",
" | Tuple of bytes to step in each dimension when traversing an array.\n",
" | \n",
" | The byte offset of element ``(i[0], i[1], ..., i[n])`` in an array `a`\n",
" | is::\n",
" | \n",
" | offset = sum(np.array(i) * a.strides)\n",
" | \n",
" | A more detailed explanation of strides can be found in the\n",
" | \"ndarray.rst\" file in the NumPy reference guide.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Imagine an array of 32-bit integers (each 4 bytes)::\n",
" | \n",
" | x = np.array([[0, 1, 2, 3, 4],\n",
" | [5, 6, 7, 8, 9]], dtype=np.int32)\n",
" | \n",
" | This array is stored in memory as 40 bytes, one after the other\n",
" | (known as a contiguous block of memory). The strides of an array tell\n",
" | us how many bytes we have to skip in memory to move to the next position\n",
" | along a certain axis. For example, we have to skip 4 bytes (1 value) to\n",
" | move to the next column, but 20 bytes (5 values) to get to the same\n",
" | position in the next row. As such, the strides for the array `x` will be\n",
" | ``(20, 4)``.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.lib.stride_tricks.as_strided\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.reshape(np.arange(2*3*4), (2,3,4))\n",
" | >>> y\n",
" | array([[[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]],\n",
" | [[12, 13, 14, 15],\n",
" | [16, 17, 18, 19],\n",
" | [20, 21, 22, 23]]])\n",
" | >>> y.strides\n",
" | (48, 16, 4)\n",
" | >>> y[1,1,1]\n",
" | 17\n",
" | >>> offset=sum(y.strides * np.array((1,1,1)))\n",
" | >>> offset/y.itemsize\n",
" | 17\n",
" | \n",
" | >>> x = np.reshape(np.arange(5*6*7*8), (5,6,7,8)).transpose(2,3,1,0)\n",
" | >>> x.strides\n",
" | (32, 4, 224, 1344)\n",
" | >>> i = np.array([3,5,2,2])\n",
" | >>> offset = sum(i * x.strides)\n",
" | >>> x[3,5,2,2]\n",
" | 813\n",
" | >>> offset / x.itemsize\n",
" | 813\n",
" \n",
" clongdouble = class complex256(complexfloating)\n",
" | Complex number type composed of two extended-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'G'``.\n",
" | Canonical name: ``np.clongdouble``.\n",
" | Alias: ``np.clongfloat``.\n",
" | Alias: ``np.longcomplex``.\n",
" | Alias *on this platform*: ``np.complex256``: Complex number type composed of 2 128-bit extended-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex256\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" clongfloat = class complex256(complexfloating)\n",
" | Complex number type composed of two extended-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'G'``.\n",
" | Canonical name: ``np.clongdouble``.\n",
" | Alias: ``np.clongfloat``.\n",
" | Alias: ``np.longcomplex``.\n",
" | Alias *on this platform*: ``np.complex256``: Complex number type composed of 2 128-bit extended-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex256\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class complex128(complexfloating, builtins.complex)\n",
" | complex128(real=0, imag=0)\n",
" | \n",
" | Complex number type composed of two double-precision floating-point\n",
" | numbers, compatible with Python `complex`.\n",
" | Character code: ``'D'``.\n",
" | Canonical name: ``np.cdouble``.\n",
" | Alias: ``np.cfloat``.\n",
" | Alias: ``np.complex_``.\n",
" | Alias *on this platform*: ``np.complex128``: Complex number type composed of 2 64-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex128\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.complex\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.complex:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(...)\n",
" \n",
" class complex256(complexfloating)\n",
" | Complex number type composed of two extended-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'G'``.\n",
" | Canonical name: ``np.clongdouble``.\n",
" | Alias: ``np.clongfloat``.\n",
" | Alias: ``np.longcomplex``.\n",
" | Alias *on this platform*: ``np.complex256``: Complex number type composed of 2 128-bit extended-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex256\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class complex64(complexfloating)\n",
" | Complex number type composed of two single-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'F'``.\n",
" | Canonical name: ``np.csingle``.\n",
" | Alias: ``np.singlecomplex``.\n",
" | Alias *on this platform*: ``np.complex64``: Complex number type composed of 2 32-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex64\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" complex_ = class complex128(complexfloating, builtins.complex)\n",
" | complex_(real=0, imag=0)\n",
" | \n",
" | Complex number type composed of two double-precision floating-point\n",
" | numbers, compatible with Python `complex`.\n",
" | Character code: ``'D'``.\n",
" | Canonical name: ``np.cdouble``.\n",
" | Alias: ``np.cfloat``.\n",
" | Alias: ``np.complex_``.\n",
" | Alias *on this platform*: ``np.complex128``: Complex number type composed of 2 64-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex128\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.complex\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.complex:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(...)\n",
" \n",
" class complexfloating(inexact)\n",
" | Abstract base class of all complex number scalar types that are made up of\n",
" | floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" csingle = class complex64(complexfloating)\n",
" | Complex number type composed of two single-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'F'``.\n",
" | Canonical name: ``np.csingle``.\n",
" | Alias: ``np.singlecomplex``.\n",
" | Alias *on this platform*: ``np.complex64``: Complex number type composed of 2 32-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex64\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class datetime64(generic)\n",
" | Base class for numpy scalar types.\n",
" | \n",
" | Class from which most (all?) numpy scalar types are derived. For\n",
" | consistency, exposes the same API as `ndarray`, despite many\n",
" | consequent attributes being either \"get-only,\" or completely irrelevant.\n",
" | This is the class from which it is strongly suggested users should derive\n",
" | custom scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | datetime64\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" double = class float64(floating, builtins.float)\n",
" | double(x=0, /)\n",
" | \n",
" | Double-precision floating-point number type, compatible with Python `float`\n",
" | and C ``double``.\n",
" | Character code: ``'d'``.\n",
" | Canonical name: ``np.double``.\n",
" | Alias: ``np.float_``.\n",
" | Alias *on this platform*: ``np.float64``: 64-bit precision floating-point number type: sign bit, 11 bits exponent, 52 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float64\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.float\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.double(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.double(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.double(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.float:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(self, /)\n",
" | \n",
" | __trunc__(self, /)\n",
" | Return the Integral closest to x between 0 and x.\n",
" | \n",
" | hex(self, /)\n",
" | Return a hexadecimal representation of a floating-point number.\n",
" | \n",
" | >>> (-0.1).hex()\n",
" | '-0x1.999999999999ap-4'\n",
" | >>> 3.14159.hex()\n",
" | '0x1.921f9f01b866ep+1'\n",
" | \n",
" | is_integer(self, /)\n",
" | Return True if the float is an integer.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Class methods inherited from builtins.float:\n",
" | \n",
" | __getformat__(typestr, /) from builtins.type\n",
" | You probably don't want to use this function.\n",
" | \n",
" | typestr\n",
" | Must be 'double' or 'float'.\n",
" | \n",
" | It exists mainly to be used in Python's test suite.\n",
" | \n",
" | This function returns whichever of 'unknown', 'IEEE, big-endian' or 'IEEE,\n",
" | little-endian' best describes the format of floating point numbers used by the\n",
" | C type named by typestr.\n",
" | \n",
" | __set_format__(typestr, fmt, /) from builtins.type\n",
" | You probably don't want to use this function.\n",
" | \n",
" | typestr\n",
" | Must be 'double' or 'float'.\n",
" | fmt\n",
" | Must be one of 'unknown', 'IEEE, big-endian' or 'IEEE, little-endian',\n",
" | and in addition can only be one of the latter two if it appears to\n",
" | match the underlying C reality.\n",
" | \n",
" | It exists mainly to be used in Python's test suite.\n",
" | \n",
" | Override the automatic determination of C-level floating point type.\n",
" | This affects how floats are converted to and from binary strings.\n",
" | \n",
" | fromhex(string, /) from builtins.type\n",
" | Create a floating-point number from a hexadecimal string.\n",
" | \n",
" | >>> float.fromhex('0x1.ffffp10')\n",
" | 2047.984375\n",
" | >>> float.fromhex('-0x1p-1074')\n",
" | -5e-324\n",
" \n",
" class dtype(builtins.object)\n",
" | dtype(obj, align=False, copy=False)\n",
" | \n",
" | Create a data type object.\n",
" | \n",
" | A numpy array is homogeneous, and contains elements described by a\n",
" | dtype object. A dtype object can be constructed from different\n",
" | combinations of fundamental numeric types.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | obj\n",
" | Object to be converted to a data type object.\n",
" | align : bool, optional\n",
" | Add padding to the fields to match what a C compiler would output\n",
" | for a similar C-struct. Can be ``True`` only if `obj` is a dictionary\n",
" | or a comma-separated string. If a struct dtype is being created,\n",
" | this also sets a sticky alignment flag ``isalignedstruct``.\n",
" | copy : bool, optional\n",
" | Make a new copy of the data-type object. If ``False``, the result\n",
" | may just be a reference to a built-in data-type object.\n",
" | \n",
" | See also\n",
" | --------\n",
" | result_type\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Using array-scalar type:\n",
" | \n",
" | >>> np.dtype(np.int16)\n",
" | dtype('int16')\n",
" | \n",
" | Structured type, one field name 'f1', containing int16:\n",
" | \n",
" | >>> np.dtype([('f1', np.int16)])\n",
" | dtype([('f1', '>> np.dtype([('f1', [('f1', np.int16)])])\n",
" | dtype([('f1', [('f1', '>> np.dtype([('f1', np.uint64), ('f2', np.int32)])\n",
" | dtype([('f1', '>> np.dtype([('a','f8'),('b','S10')])\n",
" | dtype([('a', '>> np.dtype(\"i4, (2,3)f8\")\n",
" | dtype([('f0', '>> np.dtype([('hello',(np.int64,3)),('world',np.void,10)])\n",
" | dtype([('hello', '>> np.dtype((np.int16, {'x':(np.int8,0), 'y':(np.int8,1)}))\n",
" | dtype((numpy.int16, [('x', 'i1'), ('y', 'i1')]))\n",
" | \n",
" | Using dictionaries. Two fields named 'gender' and 'age':\n",
" | \n",
" | >>> np.dtype({'names':['gender','age'], 'formats':['S1',np.uint8]})\n",
" | dtype([('gender', 'S1'), ('age', 'u1')])\n",
" | \n",
" | Offsets in bytes, here 0 and 25:\n",
" | \n",
" | >>> np.dtype({'surname':('S25',0),'age':(np.uint8,25)})\n",
" | dtype([('surname', 'S25'), ('age', 'u1')])\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | The code does a case-insensitive check on the first letter of\n",
" | `new_order` for these alternatives. For example, any of '>'\n",
" | or 'B' or 'b' or 'brian' are valid to specify big-endian.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New dtype object with the given change to the byte order.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> import sys\n",
" | >>> sys_is_le = sys.byteorder == 'little'\n",
" | >>> native_code = sys_is_le and '<' or '>'\n",
" | >>> swapped_code = sys_is_le and '>' or '<'\n",
" | >>> native_dt = np.dtype(native_code+'i2')\n",
" | >>> swapped_dt = np.dtype(swapped_code+'i2')\n",
" | >>> native_dt.newbyteorder('S') == swapped_dt\n",
" | True\n",
" | >>> native_dt.newbyteorder() == swapped_dt\n",
" | True\n",
" | >>> native_dt == swapped_dt.newbyteorder('S')\n",
" | True\n",
" | >>> native_dt == swapped_dt.newbyteorder('=')\n",
" | True\n",
" | >>> native_dt == swapped_dt.newbyteorder('N')\n",
" | True\n",
" | >>> native_dt == native_dt.newbyteorder('|')\n",
" | True\n",
" | >>> np.dtype('>> np.dtype('>> np.dtype('>i2') == native_dt.newbyteorder('>')\n",
" | True\n",
" | >>> np.dtype('>i2') == native_dt.newbyteorder('B')\n",
" | True\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | alignment\n",
" | The required alignment (bytes) of this data-type according to the compiler.\n",
" | \n",
" | More information is available in the C-API section of the manual.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> x = np.dtype('i4')\n",
" | >>> x.alignment\n",
" | 4\n",
" | \n",
" | >>> x = np.dtype(float)\n",
" | >>> x.alignment\n",
" | 8\n",
" | \n",
" | base\n",
" | Returns dtype for the base element of the subarrays,\n",
" | regardless of their dimension or shape.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | dtype.subdtype\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = numpy.dtype('8f')\n",
" | >>> x.base\n",
" | dtype('float32')\n",
" | \n",
" | >>> x = numpy.dtype('i2')\n",
" | >>> x.base\n",
" | dtype('int16')\n",
" | \n",
" | byteorder\n",
" | A character indicating the byte-order of this data-type object.\n",
" | \n",
" | One of:\n",
" | \n",
" | === ==============\n",
" | '=' native\n",
" | '<' little-endian\n",
" | '>' big-endian\n",
" | '|' not applicable\n",
" | === ==============\n",
" | \n",
" | All built-in data-type objects have byteorder either '=' or '|'.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> dt = np.dtype('i2')\n",
" | >>> dt.byteorder\n",
" | '='\n",
" | >>> # endian is not relevant for 8 bit numbers\n",
" | >>> np.dtype('i1').byteorder\n",
" | '|'\n",
" | >>> # or ASCII strings\n",
" | >>> np.dtype('S2').byteorder\n",
" | '|'\n",
" | >>> # Even if specific code is given, and it is native\n",
" | >>> # '=' is the byteorder\n",
" | >>> import sys\n",
" | >>> sys_is_le = sys.byteorder == 'little'\n",
" | >>> native_code = sys_is_le and '<' or '>'\n",
" | >>> swapped_code = sys_is_le and '>' or '<'\n",
" | >>> dt = np.dtype(native_code + 'i2')\n",
" | >>> dt.byteorder\n",
" | '='\n",
" | >>> # Swapped code shows up as itself\n",
" | >>> dt = np.dtype(swapped_code + 'i2')\n",
" | >>> dt.byteorder == swapped_code\n",
" | True\n",
" | \n",
" | char\n",
" | A unique character code for each of the 21 different built-in types.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> x = np.dtype(float)\n",
" | >>> x.char\n",
" | 'd'\n",
" | \n",
" | descr\n",
" | `__array_interface__` description of the data-type.\n",
" | \n",
" | The format is that required by the 'descr' key in the\n",
" | `__array_interface__` attribute.\n",
" | \n",
" | Warning: This attribute exists specifically for `__array_interface__`,\n",
" | and passing it directly to `np.dtype` will not accurately reconstruct\n",
" | some dtypes (e.g., scalar and subarray dtypes).\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> x = np.dtype(float)\n",
" | >>> x.descr\n",
" | [('', '>> dt = np.dtype([('name', np.str_, 16), ('grades', np.float64, (2,))])\n",
" | >>> dt.descr\n",
" | [('name', '>> dt = np.dtype([('name', np.str_, 16), ('grades', np.float64, (2,))])\n",
" | >>> print(dt.fields)\n",
" | {'grades': (dtype(('float64',(2,))), 16), 'name': (dtype('|S16'), 0)}\n",
" | \n",
" | flags\n",
" | Bit-flags describing how this data type is to be interpreted.\n",
" | \n",
" | Bit-masks are in `numpy.core.multiarray` as the constants\n",
" | `ITEM_HASOBJECT`, `LIST_PICKLE`, `ITEM_IS_POINTER`, `NEEDS_INIT`,\n",
" | `NEEDS_PYAPI`, `USE_GETITEM`, `USE_SETITEM`. A full explanation\n",
" | of these flags is in C-API documentation; they are largely useful\n",
" | for user-defined data-types.\n",
" | \n",
" | The following example demonstrates that operations on this particular\n",
" | dtype requires Python C-API.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> x = np.dtype([('a', np.int32, 8), ('b', np.float64, 6)])\n",
" | >>> x.flags\n",
" | 16\n",
" | >>> np.core.multiarray.NEEDS_PYAPI\n",
" | 16\n",
" | \n",
" | hasobject\n",
" | Boolean indicating whether this dtype contains any reference-counted\n",
" | objects in any fields or sub-dtypes.\n",
" | \n",
" | Recall that what is actually in the ndarray memory representing\n",
" | the Python object is the memory address of that object (a pointer).\n",
" | Special handling may be required, and this attribute is useful for\n",
" | distinguishing data types that may contain arbitrary Python objects\n",
" | and data-types that won't.\n",
" | \n",
" | isalignedstruct\n",
" | Boolean indicating whether the dtype is a struct which maintains\n",
" | field alignment. This flag is sticky, so when combining multiple\n",
" | structs together, it is preserved and produces new dtypes which\n",
" | are also aligned.\n",
" | \n",
" | isbuiltin\n",
" | Integer indicating how this dtype relates to the built-in dtypes.\n",
" | \n",
" | Read-only.\n",
" | \n",
" | = ========================================================================\n",
" | 0 if this is a structured array type, with fields\n",
" | 1 if this is a dtype compiled into numpy (such as ints, floats etc)\n",
" | 2 if the dtype is for a user-defined numpy type\n",
" | A user-defined type uses the numpy C-API machinery to extend\n",
" | numpy to handle a new array type. See\n",
" | :ref:`user.user-defined-data-types` in the NumPy manual.\n",
" | = ========================================================================\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> dt = np.dtype('i2')\n",
" | >>> dt.isbuiltin\n",
" | 1\n",
" | >>> dt = np.dtype('f8')\n",
" | >>> dt.isbuiltin\n",
" | 1\n",
" | >>> dt = np.dtype([('field1', 'f8')])\n",
" | >>> dt.isbuiltin\n",
" | 0\n",
" | \n",
" | isnative\n",
" | Boolean indicating whether the byte order of this dtype is native\n",
" | to the platform.\n",
" | \n",
" | itemsize\n",
" | The element size of this data-type object.\n",
" | \n",
" | For 18 of the 21 types this number is fixed by the data-type.\n",
" | For the flexible data-types, this number can be anything.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> arr = np.array([[1, 2], [3, 4]])\n",
" | >>> arr.dtype\n",
" | dtype('int64')\n",
" | >>> arr.itemsize\n",
" | 8\n",
" | \n",
" | >>> dt = np.dtype([('name', np.str_, 16), ('grades', np.float64, (2,))])\n",
" | >>> dt.itemsize\n",
" | 80\n",
" | \n",
" | kind\n",
" | A character code (one of 'biufcmMOSUV') identifying the general kind of data.\n",
" | \n",
" | = ======================\n",
" | b boolean\n",
" | i signed integer\n",
" | u unsigned integer\n",
" | f floating-point\n",
" | c complex floating-point\n",
" | m timedelta\n",
" | M datetime\n",
" | O object\n",
" | S (byte-)string\n",
" | U Unicode\n",
" | V void\n",
" | = ======================\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> dt = np.dtype('i4')\n",
" | >>> dt.kind\n",
" | 'i'\n",
" | >>> dt = np.dtype('f8')\n",
" | >>> dt.kind\n",
" | 'f'\n",
" | >>> dt = np.dtype([('field1', 'f8')])\n",
" | >>> dt.kind\n",
" | 'V'\n",
" | \n",
" | metadata\n",
" | \n",
" | name\n",
" | A bit-width name for this data-type.\n",
" | \n",
" | Un-sized flexible data-type objects do not have this attribute.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> x = np.dtype(float)\n",
" | >>> x.name\n",
" | 'float64'\n",
" | >>> x = np.dtype([('a', np.int32, 8), ('b', np.float64, 6)])\n",
" | >>> x.name\n",
" | 'void640'\n",
" | \n",
" | names\n",
" | Ordered list of field names, or ``None`` if there are no fields.\n",
" | \n",
" | The names are ordered according to increasing byte offset. This can be\n",
" | used, for example, to walk through all of the named fields in offset order.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> dt = np.dtype([('name', np.str_, 16), ('grades', np.float64, (2,))])\n",
" | >>> dt.names\n",
" | ('name', 'grades')\n",
" | \n",
" | ndim\n",
" | Number of dimensions of the sub-array if this data type describes a\n",
" | sub-array, and ``0`` otherwise.\n",
" | \n",
" | .. versionadded:: 1.13.0\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.dtype(float)\n",
" | >>> x.ndim\n",
" | 0\n",
" | \n",
" | >>> x = np.dtype((float, 8))\n",
" | >>> x.ndim\n",
" | 1\n",
" | \n",
" | >>> x = np.dtype(('i4', (3, 4)))\n",
" | >>> x.ndim\n",
" | 2\n",
" | \n",
" | num\n",
" | A unique number for each of the 21 different built-in types.\n",
" | \n",
" | These are roughly ordered from least-to-most precision.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> dt = np.dtype(str)\n",
" | >>> dt.num\n",
" | 19\n",
" | \n",
" | >>> dt = np.dtype(float)\n",
" | >>> dt.num\n",
" | 12\n",
" | \n",
" | shape\n",
" | Shape tuple of the sub-array if this data type describes a sub-array,\n",
" | and ``()`` otherwise.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | \n",
" | >>> dt = np.dtype(('i4', 4))\n",
" | >>> dt.shape\n",
" | (4,)\n",
" | \n",
" | >>> dt = np.dtype(('i4', (2, 3)))\n",
" | >>> dt.shape\n",
" | (2, 3)\n",
" | \n",
" | str\n",
" | The array-protocol typestring of this data-type object.\n",
" | \n",
" | subdtype\n",
" | Tuple ``(item_dtype, shape)`` if this `dtype` describes a sub-array, and\n",
" | None otherwise.\n",
" | \n",
" | The *shape* is the fixed shape of the sub-array described by this\n",
" | data type, and *item_dtype* the data type of the array.\n",
" | \n",
" | If a field whose dtype object has this attribute is retrieved,\n",
" | then the extra dimensions implied by *shape* are tacked on to\n",
" | the end of the retrieved array.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | dtype.base\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = numpy.dtype('8f')\n",
" | >>> x.subdtype\n",
" | (dtype('float32'), (8,))\n",
" | \n",
" | >>> x = numpy.dtype('i2')\n",
" | >>> x.subdtype\n",
" | >>>\n",
" | \n",
" | type\n",
" | The type object used to instantiate a scalar of this data-type.\n",
" \n",
" class errstate(contextlib.ContextDecorator)\n",
" | errstate(*, call=, **kwargs)\n",
" | \n",
" | errstate(**kwargs)\n",
" | \n",
" | Context manager for floating-point error handling.\n",
" | \n",
" | Using an instance of `errstate` as a context manager allows statements in\n",
" | that context to execute with a known error handling behavior. Upon entering\n",
" | the context the error handling is set with `seterr` and `seterrcall`, and\n",
" | upon exiting it is reset to what it was before.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `errstate` is also usable as a function decorator, saving\n",
" | a level of indentation if an entire function is wrapped.\n",
" | See :py:class:`contextlib.ContextDecorator` for more information.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | kwargs : {divide, over, under, invalid}\n",
" | Keyword arguments. The valid keywords are the possible floating-point\n",
" | exceptions. Each keyword should have a string value that defines the\n",
" | treatment for the particular error. Possible values are\n",
" | {'ignore', 'warn', 'raise', 'call', 'print', 'log'}.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | seterr, geterr, seterrcall, geterrcall\n",
" | \n",
" | Notes\n",
" | -----\n",
" | For complete documentation of the types of floating-point exceptions and\n",
" | treatment options, see `seterr`.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> from collections import OrderedDict\n",
" | >>> olderr = np.seterr(all='ignore') # Set error handling to known state.\n",
" | \n",
" | >>> np.arange(3) / 0.\n",
" | array([nan, inf, inf])\n",
" | >>> with np.errstate(divide='warn'):\n",
" | ... np.arange(3) / 0.\n",
" | array([nan, inf, inf])\n",
" | \n",
" | >>> np.sqrt(-1)\n",
" | nan\n",
" | >>> with np.errstate(invalid='raise'):\n",
" | ... np.sqrt(-1)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 2, in \n",
" | FloatingPointError: invalid value encountered in sqrt\n",
" | \n",
" | Outside the context the error handling behavior has not changed:\n",
" | \n",
" | >>> OrderedDict(sorted(np.geterr().items()))\n",
" | OrderedDict([('divide', 'ignore'), ('invalid', 'ignore'), ('over', 'ignore'), ('under', 'ignore')])\n",
" | \n",
" | Method resolution order:\n",
" | errstate\n",
" | contextlib.ContextDecorator\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __enter__(self)\n",
" | \n",
" | __exit__(self, *exc_info)\n",
" | \n",
" | __init__(self, *, call=, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from contextlib.ContextDecorator:\n",
" | \n",
" | __call__(self, func)\n",
" | Call self as a function.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from contextlib.ContextDecorator:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class finfo(builtins.object)\n",
" | finfo(dtype)\n",
" | \n",
" | finfo(dtype)\n",
" | \n",
" | Machine limits for floating point types.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | bits : int\n",
" | The number of bits occupied by the type.\n",
" | eps : float\n",
" | The difference between 1.0 and the next smallest representable float\n",
" | larger than 1.0. For example, for 64-bit binary floats in the IEEE-754\n",
" | standard, ``eps = 2**-52``, approximately 2.22e-16.\n",
" | epsneg : float\n",
" | The difference between 1.0 and the next smallest representable float\n",
" | less than 1.0. For example, for 64-bit binary floats in the IEEE-754\n",
" | standard, ``epsneg = 2**-53``, approximately 1.11e-16.\n",
" | iexp : int\n",
" | The number of bits in the exponent portion of the floating point\n",
" | representation.\n",
" | machar : MachAr\n",
" | The object which calculated these parameters and holds more\n",
" | detailed information.\n",
" | machep : int\n",
" | The exponent that yields `eps`.\n",
" | max : floating point number of the appropriate type\n",
" | The largest representable number.\n",
" | maxexp : int\n",
" | The smallest positive power of the base (2) that causes overflow.\n",
" | min : floating point number of the appropriate type\n",
" | The smallest representable number, typically ``-max``.\n",
" | minexp : int\n",
" | The most negative power of the base (2) consistent with there\n",
" | being no leading 0's in the mantissa.\n",
" | negep : int\n",
" | The exponent that yields `epsneg`.\n",
" | nexp : int\n",
" | The number of bits in the exponent including its sign and bias.\n",
" | nmant : int\n",
" | The number of bits in the mantissa.\n",
" | precision : int\n",
" | The approximate number of decimal digits to which this kind of\n",
" | float is precise.\n",
" | resolution : floating point number of the appropriate type\n",
" | The approximate decimal resolution of this type, i.e.,\n",
" | ``10**-precision``.\n",
" | tiny : float\n",
" | The smallest positive usable number. Type of `tiny` is an\n",
" | appropriate floating point type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : float, dtype, or instance\n",
" | Kind of floating point data-type about which to get information.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | MachAr : The implementation of the tests that produce this information.\n",
" | iinfo : The equivalent for integer data types.\n",
" | spacing : The distance between a value and the nearest adjacent number\n",
" | nextafter : The next floating point value after x1 towards x2\n",
" | \n",
" | Notes\n",
" | -----\n",
" | For developers of NumPy: do not instantiate this at the module level.\n",
" | The initial calculation of these parameters is expensive and negatively\n",
" | impacts import times. These objects are cached, so calling ``finfo()``\n",
" | repeatedly inside your functions is not a problem.\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __repr__(self)\n",
" | Return repr(self).\n",
" | \n",
" | __str__(self)\n",
" | Return str(self).\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(cls, dtype)\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class flatiter(builtins.object)\n",
" | Flat iterator object to iterate over arrays.\n",
" | \n",
" | A `flatiter` iterator is returned by ``x.flat`` for any array `x`.\n",
" | It allows iterating over the array as if it were a 1-D array,\n",
" | either in a for-loop or by calling its `next` method.\n",
" | \n",
" | Iteration is done in row-major, C-style order (the last\n",
" | index varying the fastest). The iterator can also be indexed using\n",
" | basic slicing or advanced indexing.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.flat : Return a flat iterator over an array.\n",
" | ndarray.flatten : Returns a flattened copy of an array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | A `flatiter` iterator can not be constructed directly from Python code\n",
" | by calling the `flatiter` constructor.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(6).reshape(2, 3)\n",
" | >>> fl = x.flat\n",
" | >>> type(fl)\n",
" | \n",
" | >>> for item in fl:\n",
" | ... print(item)\n",
" | ...\n",
" | 0\n",
" | 1\n",
" | 2\n",
" | 3\n",
" | 4\n",
" | 5\n",
" | \n",
" | >>> fl[2:4]\n",
" | array([2, 3])\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __array__(...)\n",
" | __array__(type=None) Get array from iterator\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>> x = np.arange(6).reshape(2, 3)\n",
" | >>> x\n",
" | array([[0, 1, 2],\n",
" | [3, 4, 5]])\n",
" | >>> fl = x.flat\n",
" | >>> fl.copy()\n",
" | array([0, 1, 2, 3, 4, 5])\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | base\n",
" | A reference to the array that is iterated over.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(5)\n",
" | >>> fl = x.flat\n",
" | >>> fl.base is x\n",
" | True\n",
" | \n",
" | coords\n",
" | An N-dimensional tuple of current coordinates.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(6).reshape(2, 3)\n",
" | >>> fl = x.flat\n",
" | >>> fl.coords\n",
" | (0, 0)\n",
" | >>> next(fl)\n",
" | 0\n",
" | >>> fl.coords\n",
" | (0, 1)\n",
" | \n",
" | index\n",
" | Current flat index into the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(6).reshape(2, 3)\n",
" | >>> fl = x.flat\n",
" | >>> fl.index\n",
" | 0\n",
" | >>> next(fl)\n",
" | 0\n",
" | >>> fl.index\n",
" | 1\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class flexible(generic)\n",
" | Abstract base class of all scalar types without predefined length.\n",
" | The actual size of these types depends on the specific `np.dtype`\n",
" | instantiation.\n",
" | \n",
" | Method resolution order:\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class float128(floating)\n",
" | Extended-precision floating-point number type, compatible with C\n",
" | ``long double`` but not necessarily with IEEE 754 quadruple-precision.\n",
" | Character code: ``'g'``.\n",
" | Canonical name: ``np.longdouble``.\n",
" | Alias: ``np.longfloat``.\n",
" | Alias *on this platform*: ``np.float128``: 128-bit extended-precision floating-point number type.\n",
" | \n",
" | Method resolution order:\n",
" | float128\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.longdouble(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.longdouble(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.longdouble(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class float16(floating)\n",
" | Half-precision floating-point number type.\n",
" | Character code: ``'e'``.\n",
" | Canonical name: ``np.half``.\n",
" | Alias *on this platform*: ``np.float16``: 16-bit-precision floating-point number type: sign bit, 5 bits exponent, 10 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float16\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.half(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.half(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.half(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class float32(floating)\n",
" | Single-precision floating-point number type, compatible with C ``float``.\n",
" | Character code: ``'f'``.\n",
" | Canonical name: ``np.single``.\n",
" | Alias *on this platform*: ``np.float32``: 32-bit-precision floating-point number type: sign bit, 8 bits exponent, 23 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float32\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.single(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.single(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.single(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class float64(floating, builtins.float)\n",
" | float64(x=0, /)\n",
" | \n",
" | Double-precision floating-point number type, compatible with Python `float`\n",
" | and C ``double``.\n",
" | Character code: ``'d'``.\n",
" | Canonical name: ``np.double``.\n",
" | Alias: ``np.float_``.\n",
" | Alias *on this platform*: ``np.float64``: 64-bit precision floating-point number type: sign bit, 11 bits exponent, 52 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float64\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.float\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.double(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.double(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.double(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.float:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(self, /)\n",
" | \n",
" | __trunc__(self, /)\n",
" | Return the Integral closest to x between 0 and x.\n",
" | \n",
" | hex(self, /)\n",
" | Return a hexadecimal representation of a floating-point number.\n",
" | \n",
" | >>> (-0.1).hex()\n",
" | '-0x1.999999999999ap-4'\n",
" | >>> 3.14159.hex()\n",
" | '0x1.921f9f01b866ep+1'\n",
" | \n",
" | is_integer(self, /)\n",
" | Return True if the float is an integer.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Class methods inherited from builtins.float:\n",
" | \n",
" | __getformat__(typestr, /) from builtins.type\n",
" | You probably don't want to use this function.\n",
" | \n",
" | typestr\n",
" | Must be 'double' or 'float'.\n",
" | \n",
" | It exists mainly to be used in Python's test suite.\n",
" | \n",
" | This function returns whichever of 'unknown', 'IEEE, big-endian' or 'IEEE,\n",
" | little-endian' best describes the format of floating point numbers used by the\n",
" | C type named by typestr.\n",
" | \n",
" | __set_format__(typestr, fmt, /) from builtins.type\n",
" | You probably don't want to use this function.\n",
" | \n",
" | typestr\n",
" | Must be 'double' or 'float'.\n",
" | fmt\n",
" | Must be one of 'unknown', 'IEEE, big-endian' or 'IEEE, little-endian',\n",
" | and in addition can only be one of the latter two if it appears to\n",
" | match the underlying C reality.\n",
" | \n",
" | It exists mainly to be used in Python's test suite.\n",
" | \n",
" | Override the automatic determination of C-level floating point type.\n",
" | This affects how floats are converted to and from binary strings.\n",
" | \n",
" | fromhex(string, /) from builtins.type\n",
" | Create a floating-point number from a hexadecimal string.\n",
" | \n",
" | >>> float.fromhex('0x1.ffffp10')\n",
" | 2047.984375\n",
" | >>> float.fromhex('-0x1p-1074')\n",
" | -5e-324\n",
" \n",
" float_ = class float64(floating, builtins.float)\n",
" | float_(x=0, /)\n",
" | \n",
" | Double-precision floating-point number type, compatible with Python `float`\n",
" | and C ``double``.\n",
" | Character code: ``'d'``.\n",
" | Canonical name: ``np.double``.\n",
" | Alias: ``np.float_``.\n",
" | Alias *on this platform*: ``np.float64``: 64-bit precision floating-point number type: sign bit, 11 bits exponent, 52 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float64\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.float\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.double(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.double(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.double(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from builtins.float:\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getnewargs__(self, /)\n",
" | \n",
" | __trunc__(self, /)\n",
" | Return the Integral closest to x between 0 and x.\n",
" | \n",
" | hex(self, /)\n",
" | Return a hexadecimal representation of a floating-point number.\n",
" | \n",
" | >>> (-0.1).hex()\n",
" | '-0x1.999999999999ap-4'\n",
" | >>> 3.14159.hex()\n",
" | '0x1.921f9f01b866ep+1'\n",
" | \n",
" | is_integer(self, /)\n",
" | Return True if the float is an integer.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Class methods inherited from builtins.float:\n",
" | \n",
" | __getformat__(typestr, /) from builtins.type\n",
" | You probably don't want to use this function.\n",
" | \n",
" | typestr\n",
" | Must be 'double' or 'float'.\n",
" | \n",
" | It exists mainly to be used in Python's test suite.\n",
" | \n",
" | This function returns whichever of 'unknown', 'IEEE, big-endian' or 'IEEE,\n",
" | little-endian' best describes the format of floating point numbers used by the\n",
" | C type named by typestr.\n",
" | \n",
" | __set_format__(typestr, fmt, /) from builtins.type\n",
" | You probably don't want to use this function.\n",
" | \n",
" | typestr\n",
" | Must be 'double' or 'float'.\n",
" | fmt\n",
" | Must be one of 'unknown', 'IEEE, big-endian' or 'IEEE, little-endian',\n",
" | and in addition can only be one of the latter two if it appears to\n",
" | match the underlying C reality.\n",
" | \n",
" | It exists mainly to be used in Python's test suite.\n",
" | \n",
" | Override the automatic determination of C-level floating point type.\n",
" | This affects how floats are converted to and from binary strings.\n",
" | \n",
" | fromhex(string, /) from builtins.type\n",
" | Create a floating-point number from a hexadecimal string.\n",
" | \n",
" | >>> float.fromhex('0x1.ffffp10')\n",
" | 2047.984375\n",
" | >>> float.fromhex('-0x1p-1074')\n",
" | -5e-324\n",
" \n",
" class floating(inexact)\n",
" | Abstract base class of all floating-point scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class format_parser(builtins.object)\n",
" | format_parser(formats, names, titles, aligned=False, byteorder=None)\n",
" | \n",
" | Class to convert formats, names, titles description to a dtype.\n",
" | \n",
" | After constructing the format_parser object, the dtype attribute is\n",
" | the converted data-type:\n",
" | ``dtype = format_parser(formats, names, titles).dtype``\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | dtype : dtype\n",
" | The converted data-type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | formats : str or list of str\n",
" | The format description, either specified as a string with\n",
" | comma-separated format descriptions in the form ``'f8, i4, a5'``, or\n",
" | a list of format description strings in the form\n",
" | ``['f8', 'i4', 'a5']``.\n",
" | names : str or list/tuple of str\n",
" | The field names, either specified as a comma-separated string in the\n",
" | form ``'col1, col2, col3'``, or as a list or tuple of strings in the\n",
" | form ``['col1', 'col2', 'col3']``.\n",
" | An empty list can be used, in that case default field names\n",
" | ('f0', 'f1', ...) are used.\n",
" | titles : sequence\n",
" | Sequence of title strings. An empty list can be used to leave titles\n",
" | out.\n",
" | aligned : bool, optional\n",
" | If True, align the fields by padding as the C-compiler would.\n",
" | Default is False.\n",
" | byteorder : str, optional\n",
" | If specified, all the fields will be changed to the\n",
" | provided byte-order. Otherwise, the default byte-order is\n",
" | used. For all available string specifiers, see `dtype.newbyteorder`.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | dtype, typename, sctype2char\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.format_parser(['>> np.format_parser(['f8', 'i4', 'a5'], ['col1', 'col2', 'col3'],\n",
" | ... []).dtype\n",
" | dtype([('col1', '>> np.format_parser(['=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" half = class float16(floating)\n",
" | Half-precision floating-point number type.\n",
" | Character code: ``'e'``.\n",
" | Canonical name: ``np.half``.\n",
" | Alias *on this platform*: ``np.float16``: 16-bit-precision floating-point number type: sign bit, 5 bits exponent, 10 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float16\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.half(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.half(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.half(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class iinfo(builtins.object)\n",
" | iinfo(int_type)\n",
" | \n",
" | iinfo(type)\n",
" | \n",
" | Machine limits for integer types.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | bits : int\n",
" | The number of bits occupied by the type.\n",
" | min : int\n",
" | The smallest integer expressible by the type.\n",
" | max : int\n",
" | The largest integer expressible by the type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | int_type : integer type, dtype, or instance\n",
" | The kind of integer data type to get information about.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | finfo : The equivalent for floating point data types.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | With types:\n",
" | \n",
" | >>> ii16 = np.iinfo(np.int16)\n",
" | >>> ii16.min\n",
" | -32768\n",
" | >>> ii16.max\n",
" | 32767\n",
" | >>> ii32 = np.iinfo(np.int32)\n",
" | >>> ii32.min\n",
" | -2147483648\n",
" | >>> ii32.max\n",
" | 2147483647\n",
" | \n",
" | With instances:\n",
" | \n",
" | >>> ii32 = np.iinfo(np.int32(10))\n",
" | >>> ii32.min\n",
" | -2147483648\n",
" | >>> ii32.max\n",
" | 2147483647\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __init__(self, int_type)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | __repr__(self)\n",
" | Return repr(self).\n",
" | \n",
" | __str__(self)\n",
" | String representation.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Readonly properties defined here:\n",
" | \n",
" | max\n",
" | Maximum value of given dtype.\n",
" | \n",
" | min\n",
" | Minimum value of given dtype.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class inexact(number)\n",
" | Abstract base class of all numeric scalar types with a (potentially)\n",
" | inexact representation of the values in its range, such as\n",
" | floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" int0 = class int64(signedinteger)\n",
" | Signed integer type, compatible with Python `int` anc C ``long``.\n",
" | Character code: ``'l'``.\n",
" | Canonical name: ``np.int_``.\n",
" | Alias *on this platform*: ``np.int64``: 64-bit signed integer (-9223372036854775808 to 9223372036854775807).\n",
" | Alias *on this platform*: ``np.intp``: Signed integer large enough to fit pointer, compatible with C ``intptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | int64\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class int16(signedinteger)\n",
" | Signed integer type, compatible with C ``short``.\n",
" | Character code: ``'h'``.\n",
" | Canonical name: ``np.short``.\n",
" | Alias *on this platform*: ``np.int16``: 16-bit signed integer (-32768 to 32767).\n",
" | \n",
" | Method resolution order:\n",
" | int16\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class int32(signedinteger)\n",
" | Signed integer type, compatible with C ``int``.\n",
" | Character code: ``'i'``.\n",
" | Canonical name: ``np.intc``.\n",
" | Alias *on this platform*: ``np.int32``: 32-bit signed integer (-2147483648 to 2147483647).\n",
" | \n",
" | Method resolution order:\n",
" | int32\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class int64(signedinteger)\n",
" | Signed integer type, compatible with Python `int` anc C ``long``.\n",
" | Character code: ``'l'``.\n",
" | Canonical name: ``np.int_``.\n",
" | Alias *on this platform*: ``np.int64``: 64-bit signed integer (-9223372036854775808 to 9223372036854775807).\n",
" | Alias *on this platform*: ``np.intp``: Signed integer large enough to fit pointer, compatible with C ``intptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | int64\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class int8(signedinteger)\n",
" | Signed integer type, compatible with C ``char``.\n",
" | Character code: ``'b'``.\n",
" | Canonical name: ``np.byte``.\n",
" | Alias *on this platform*: ``np.int8``: 8-bit signed integer (-128 to 127).\n",
" | \n",
" | Method resolution order:\n",
" | int8\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" int_ = class int64(signedinteger)\n",
" | Signed integer type, compatible with Python `int` anc C ``long``.\n",
" | Character code: ``'l'``.\n",
" | Canonical name: ``np.int_``.\n",
" | Alias *on this platform*: ``np.int64``: 64-bit signed integer (-9223372036854775808 to 9223372036854775807).\n",
" | Alias *on this platform*: ``np.intp``: Signed integer large enough to fit pointer, compatible with C ``intptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | int64\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" intc = class int32(signedinteger)\n",
" | Signed integer type, compatible with C ``int``.\n",
" | Character code: ``'i'``.\n",
" | Canonical name: ``np.intc``.\n",
" | Alias *on this platform*: ``np.int32``: 32-bit signed integer (-2147483648 to 2147483647).\n",
" | \n",
" | Method resolution order:\n",
" | int32\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class integer(number)\n",
" | Abstract base class of all integer scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" intp = class int64(signedinteger)\n",
" | Signed integer type, compatible with Python `int` anc C ``long``.\n",
" | Character code: ``'l'``.\n",
" | Canonical name: ``np.int_``.\n",
" | Alias *on this platform*: ``np.int64``: 64-bit signed integer (-9223372036854775808 to 9223372036854775807).\n",
" | Alias *on this platform*: ``np.intp``: Signed integer large enough to fit pointer, compatible with C ``intptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | int64\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" longcomplex = class complex256(complexfloating)\n",
" | Complex number type composed of two extended-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'G'``.\n",
" | Canonical name: ``np.clongdouble``.\n",
" | Alias: ``np.clongfloat``.\n",
" | Alias: ``np.longcomplex``.\n",
" | Alias *on this platform*: ``np.complex256``: Complex number type composed of 2 128-bit extended-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex256\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" longdouble = class float128(floating)\n",
" | Extended-precision floating-point number type, compatible with C\n",
" | ``long double`` but not necessarily with IEEE 754 quadruple-precision.\n",
" | Character code: ``'g'``.\n",
" | Canonical name: ``np.longdouble``.\n",
" | Alias: ``np.longfloat``.\n",
" | Alias *on this platform*: ``np.float128``: 128-bit extended-precision floating-point number type.\n",
" | \n",
" | Method resolution order:\n",
" | float128\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.longdouble(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.longdouble(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.longdouble(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" longfloat = class float128(floating)\n",
" | Extended-precision floating-point number type, compatible with C\n",
" | ``long double`` but not necessarily with IEEE 754 quadruple-precision.\n",
" | Character code: ``'g'``.\n",
" | Canonical name: ``np.longdouble``.\n",
" | Alias: ``np.longfloat``.\n",
" | Alias *on this platform*: ``np.float128``: 128-bit extended-precision floating-point number type.\n",
" | \n",
" | Method resolution order:\n",
" | float128\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.longdouble(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.longdouble(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.longdouble(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class longlong(signedinteger)\n",
" | Signed integer type, compatible with C ``long long``.\n",
" | Character code: ``'q'``.\n",
" | \n",
" | Method resolution order:\n",
" | longlong\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class matrix(ndarray)\n",
" | matrix(data, dtype=None, copy=True)\n",
" | \n",
" | matrix(data, dtype=None, copy=True)\n",
" | \n",
" | .. note:: It is no longer recommended to use this class, even for linear\n",
" | algebra. Instead use regular arrays. The class may be removed\n",
" | in the future.\n",
" | \n",
" | Returns a matrix from an array-like object, or from a string of data.\n",
" | A matrix is a specialized 2-D array that retains its 2-D nature\n",
" | through operations. It has certain special operators, such as ``*``\n",
" | (matrix multiplication) and ``**`` (matrix power).\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | data : array_like or string\n",
" | If `data` is a string, it is interpreted as a matrix with commas\n",
" | or spaces separating columns, and semicolons separating rows.\n",
" | dtype : data-type\n",
" | Data-type of the output matrix.\n",
" | copy : bool\n",
" | If `data` is already an `ndarray`, then this flag determines\n",
" | whether the data is copied (the default), or whether a view is\n",
" | constructed.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | array\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.matrix('1 2; 3 4')\n",
" | >>> a\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | \n",
" | >>> np.matrix([[1, 2], [3, 4]])\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | \n",
" | Method resolution order:\n",
" | matrix\n",
" | ndarray\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __array_finalize__(self, obj)\n",
" | None.\n",
" | \n",
" | __getitem__(self, index)\n",
" | Return self[key].\n",
" | \n",
" | __imul__(self, other)\n",
" | Return self*=value.\n",
" | \n",
" | __ipow__(self, other)\n",
" | Return self**=value.\n",
" | \n",
" | __mul__(self, other)\n",
" | Return self*value.\n",
" | \n",
" | __pow__(self, other)\n",
" | Return pow(self, value, mod).\n",
" | \n",
" | __rmul__(self, other)\n",
" | Return value*self.\n",
" | \n",
" | __rpow__(self, other)\n",
" | Return pow(value, self, mod).\n",
" | \n",
" | all(self, axis=None, out=None)\n",
" | Test whether all matrix elements along a given axis evaluate to True.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | See `numpy.all` for complete descriptions\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.all\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.all`, but it returns a `matrix` object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> y = x[0]; y\n",
" | matrix([[0, 1, 2, 3]])\n",
" | >>> (x == y)\n",
" | matrix([[ True, True, True, True],\n",
" | [False, False, False, False],\n",
" | [False, False, False, False]])\n",
" | >>> (x == y).all()\n",
" | False\n",
" | >>> (x == y).all(0)\n",
" | matrix([[False, False, False, False]])\n",
" | >>> (x == y).all(1)\n",
" | matrix([[ True],\n",
" | [False],\n",
" | [False]])\n",
" | \n",
" | any(self, axis=None, out=None)\n",
" | Test whether any array element along a given axis evaluates to True.\n",
" | \n",
" | Refer to `numpy.any` for full documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : int, optional\n",
" | Axis along which logical OR is performed\n",
" | out : ndarray, optional\n",
" | Output to existing array instead of creating new one, must have\n",
" | same shape as expected output\n",
" | \n",
" | Returns\n",
" | -------\n",
" | any : bool, ndarray\n",
" | Returns a single bool if `axis` is ``None``; otherwise,\n",
" | returns `ndarray`\n",
" | \n",
" | argmax(self, axis=None, out=None)\n",
" | Indexes of the maximum values along an axis.\n",
" | \n",
" | Return the indexes of the first occurrences of the maximum values\n",
" | along the specified axis. If axis is None, the index is for the\n",
" | flattened matrix.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | See `numpy.argmax` for complete descriptions\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmax\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.argmax`, but returns a `matrix` object\n",
" | where `ndarray.argmax` would return an `ndarray`.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.argmax()\n",
" | 11\n",
" | >>> x.argmax(0)\n",
" | matrix([[2, 2, 2, 2]])\n",
" | >>> x.argmax(1)\n",
" | matrix([[3],\n",
" | [3],\n",
" | [3]])\n",
" | \n",
" | argmin(self, axis=None, out=None)\n",
" | Indexes of the minimum values along an axis.\n",
" | \n",
" | Return the indexes of the first occurrences of the minimum values\n",
" | along the specified axis. If axis is None, the index is for the\n",
" | flattened matrix.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | See `numpy.argmin` for complete descriptions.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmin\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.argmin`, but returns a `matrix` object\n",
" | where `ndarray.argmin` would return an `ndarray`.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = -np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, -1, -2, -3],\n",
" | [ -4, -5, -6, -7],\n",
" | [ -8, -9, -10, -11]])\n",
" | >>> x.argmin()\n",
" | 11\n",
" | >>> x.argmin(0)\n",
" | matrix([[2, 2, 2, 2]])\n",
" | >>> x.argmin(1)\n",
" | matrix([[3],\n",
" | [3],\n",
" | [3]])\n",
" | \n",
" | flatten(self, order='C')\n",
" | Return a flattened copy of the matrix.\n",
" | \n",
" | All `N` elements of the matrix are placed into a single row.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | 'C' means to flatten in row-major (C-style) order. 'F' means to\n",
" | flatten in column-major (Fortran-style) order. 'A' means to\n",
" | flatten in column-major order if `m` is Fortran *contiguous* in\n",
" | memory, row-major order otherwise. 'K' means to flatten `m` in\n",
" | the order the elements occur in memory. The default is 'C'.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : matrix\n",
" | A copy of the matrix, flattened to a `(1, N)` matrix where `N`\n",
" | is the number of elements in the original matrix.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ravel : Return a flattened array.\n",
" | flat : A 1-D flat iterator over the matrix.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> m = np.matrix([[1,2], [3,4]])\n",
" | >>> m.flatten()\n",
" | matrix([[1, 2, 3, 4]])\n",
" | >>> m.flatten('F')\n",
" | matrix([[1, 3, 2, 4]])\n",
" | \n",
" | getA = A(self)\n",
" | Return `self` as an `ndarray` object.\n",
" | \n",
" | Equivalent to ``np.asarray(self)``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : ndarray\n",
" | `self` as an `ndarray`\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.getA()\n",
" | array([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | \n",
" | getA1 = A1(self)\n",
" | Return `self` as a flattened `ndarray`.\n",
" | \n",
" | Equivalent to ``np.asarray(x).ravel()``\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : ndarray\n",
" | `self`, 1-D, as an `ndarray`\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.getA1()\n",
" | array([ 0, 1, 2, ..., 9, 10, 11])\n",
" | \n",
" | getH = H(self)\n",
" | Returns the (complex) conjugate transpose of `self`.\n",
" | \n",
" | Equivalent to ``np.transpose(self)`` if `self` is real-valued.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix object\n",
" | complex conjugate transpose of `self`\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4)))\n",
" | >>> z = x - 1j*x; z\n",
" | matrix([[ 0. +0.j, 1. -1.j, 2. -2.j, 3. -3.j],\n",
" | [ 4. -4.j, 5. -5.j, 6. -6.j, 7. -7.j],\n",
" | [ 8. -8.j, 9. -9.j, 10.-10.j, 11.-11.j]])\n",
" | >>> z.getH()\n",
" | matrix([[ 0. -0.j, 4. +4.j, 8. +8.j],\n",
" | [ 1. +1.j, 5. +5.j, 9. +9.j],\n",
" | [ 2. +2.j, 6. +6.j, 10.+10.j],\n",
" | [ 3. +3.j, 7. +7.j, 11.+11.j]])\n",
" | \n",
" | getI = I(self)\n",
" | Returns the (multiplicative) inverse of invertible `self`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix object\n",
" | If `self` is non-singular, `ret` is such that ``ret * self`` ==\n",
" | ``self * ret`` == ``np.matrix(np.eye(self[0,:].size))`` all return\n",
" | ``True``.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | numpy.linalg.LinAlgError: Singular matrix\n",
" | If `self` is singular.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | linalg.inv\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> m = np.matrix('[1, 2; 3, 4]'); m\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | >>> m.getI()\n",
" | matrix([[-2. , 1. ],\n",
" | [ 1.5, -0.5]])\n",
" | >>> m.getI() * m\n",
" | matrix([[ 1., 0.], # may vary\n",
" | [ 0., 1.]])\n",
" | \n",
" | getT = T(self)\n",
" | Returns the transpose of the matrix.\n",
" | \n",
" | Does *not* conjugate! For the complex conjugate transpose, use ``.H``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix object\n",
" | The (non-conjugated) transpose of the matrix.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | transpose, getH\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> m = np.matrix('[1, 2; 3, 4]')\n",
" | >>> m\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | >>> m.getT()\n",
" | matrix([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | max(self, axis=None, out=None)\n",
" | Return the maximum value along an axis.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | See `amax` for complete descriptions\n",
" | \n",
" | See Also\n",
" | --------\n",
" | amax, ndarray.max\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.max`, but returns a `matrix` object\n",
" | where `ndarray.max` would return an ndarray.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.max()\n",
" | 11\n",
" | >>> x.max(0)\n",
" | matrix([[ 8, 9, 10, 11]])\n",
" | >>> x.max(1)\n",
" | matrix([[ 3],\n",
" | [ 7],\n",
" | [11]])\n",
" | \n",
" | mean(self, axis=None, dtype=None, out=None)\n",
" | Returns the average of the matrix elements along the given axis.\n",
" | \n",
" | Refer to `numpy.mean` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.mean\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Same as `ndarray.mean` except that, where that returns an `ndarray`,\n",
" | this returns a `matrix` object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3, 4)))\n",
" | >>> x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.mean()\n",
" | 5.5\n",
" | >>> x.mean(0)\n",
" | matrix([[4., 5., 6., 7.]])\n",
" | >>> x.mean(1)\n",
" | matrix([[ 1.5],\n",
" | [ 5.5],\n",
" | [ 9.5]])\n",
" | \n",
" | min(self, axis=None, out=None)\n",
" | Return the minimum value along an axis.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | See `amin` for complete descriptions.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | amin, ndarray.min\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.min`, but returns a `matrix` object\n",
" | where `ndarray.min` would return an ndarray.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = -np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, -1, -2, -3],\n",
" | [ -4, -5, -6, -7],\n",
" | [ -8, -9, -10, -11]])\n",
" | >>> x.min()\n",
" | -11\n",
" | >>> x.min(0)\n",
" | matrix([[ -8, -9, -10, -11]])\n",
" | >>> x.min(1)\n",
" | matrix([[ -3],\n",
" | [ -7],\n",
" | [-11]])\n",
" | \n",
" | prod(self, axis=None, dtype=None, out=None)\n",
" | Return the product of the array elements over the given axis.\n",
" | \n",
" | Refer to `prod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | prod, ndarray.prod\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Same as `ndarray.prod`, except, where that returns an `ndarray`, this\n",
" | returns a `matrix` object instead.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.prod()\n",
" | 0\n",
" | >>> x.prod(0)\n",
" | matrix([[ 0, 45, 120, 231]])\n",
" | >>> x.prod(1)\n",
" | matrix([[ 0],\n",
" | [ 840],\n",
" | [7920]])\n",
" | \n",
" | ptp(self, axis=None, out=None)\n",
" | Peak-to-peak (maximum - minimum) value along the given axis.\n",
" | \n",
" | Refer to `numpy.ptp` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ptp\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Same as `ndarray.ptp`, except, where that would return an `ndarray` object,\n",
" | this returns a `matrix` object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.ptp()\n",
" | 11\n",
" | >>> x.ptp(0)\n",
" | matrix([[8, 8, 8, 8]])\n",
" | >>> x.ptp(1)\n",
" | matrix([[3],\n",
" | [3],\n",
" | [3]])\n",
" | \n",
" | ravel(self, order='C')\n",
" | Return a flattened matrix.\n",
" | \n",
" | Refer to `numpy.ravel` for more documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | The elements of `m` are read using this index order. 'C' means to\n",
" | index the elements in C-like order, with the last axis index\n",
" | changing fastest, back to the first axis index changing slowest.\n",
" | 'F' means to index the elements in Fortran-like index order, with\n",
" | the first index changing fastest, and the last index changing\n",
" | slowest. Note that the 'C' and 'F' options take no account of the\n",
" | memory layout of the underlying array, and only refer to the order\n",
" | of axis indexing. 'A' means to read the elements in Fortran-like\n",
" | index order if `m` is Fortran *contiguous* in memory, C-like order\n",
" | otherwise. 'K' means to read the elements in the order they occur\n",
" | in memory, except for reversing the data when strides are negative.\n",
" | By default, 'C' index order is used.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix\n",
" | Return the matrix flattened to shape `(1, N)` where `N`\n",
" | is the number of elements in the original matrix.\n",
" | A copy is made only if necessary.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | matrix.flatten : returns a similar output matrix but always a copy\n",
" | matrix.flat : a flat iterator on the array.\n",
" | numpy.ravel : related function which returns an ndarray\n",
" | \n",
" | squeeze(self, axis=None)\n",
" | Return a possibly reshaped matrix.\n",
" | \n",
" | Refer to `numpy.squeeze` for more documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : None or int or tuple of ints, optional\n",
" | Selects a subset of the single-dimensional entries in the shape.\n",
" | If an axis is selected with shape entry greater than one,\n",
" | an error is raised.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | squeezed : matrix\n",
" | The matrix, but as a (1, N) matrix if it had shape (N, 1).\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.squeeze : related function\n",
" | \n",
" | Notes\n",
" | -----\n",
" | If `m` has a single column then that column is returned\n",
" | as the single row of a matrix. Otherwise `m` is returned.\n",
" | The returned matrix is always either `m` itself or a view into `m`.\n",
" | Supplying an axis keyword argument will not affect the returned matrix\n",
" | but it may cause an error to be raised.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> c = np.matrix([[1], [2]])\n",
" | >>> c\n",
" | matrix([[1],\n",
" | [2]])\n",
" | >>> c.squeeze()\n",
" | matrix([[1, 2]])\n",
" | >>> r = c.T\n",
" | >>> r\n",
" | matrix([[1, 2]])\n",
" | >>> r.squeeze()\n",
" | matrix([[1, 2]])\n",
" | >>> m = np.matrix([[1, 2], [3, 4]])\n",
" | >>> m.squeeze()\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | \n",
" | std(self, axis=None, dtype=None, out=None, ddof=0)\n",
" | Return the standard deviation of the array elements along the given axis.\n",
" | \n",
" | Refer to `numpy.std` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.std\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.std`, except that where an `ndarray` would\n",
" | be returned, a `matrix` object is returned instead.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3, 4)))\n",
" | >>> x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.std()\n",
" | 3.4520525295346629 # may vary\n",
" | >>> x.std(0)\n",
" | matrix([[ 3.26598632, 3.26598632, 3.26598632, 3.26598632]]) # may vary\n",
" | >>> x.std(1)\n",
" | matrix([[ 1.11803399],\n",
" | [ 1.11803399],\n",
" | [ 1.11803399]])\n",
" | \n",
" | sum(self, axis=None, dtype=None, out=None)\n",
" | Returns the sum of the matrix elements, along the given axis.\n",
" | \n",
" | Refer to `numpy.sum` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.sum\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.sum`, except that where an `ndarray` would\n",
" | be returned, a `matrix` object is returned instead.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix([[1, 2], [4, 3]])\n",
" | >>> x.sum()\n",
" | 10\n",
" | >>> x.sum(axis=1)\n",
" | matrix([[3],\n",
" | [7]])\n",
" | >>> x.sum(axis=1, dtype='float')\n",
" | matrix([[3.],\n",
" | [7.]])\n",
" | >>> out = np.zeros((2, 1), dtype='float')\n",
" | >>> x.sum(axis=1, dtype='float', out=np.asmatrix(out))\n",
" | matrix([[3.],\n",
" | [7.]])\n",
" | \n",
" | tolist(self)\n",
" | Return the matrix as a (possibly nested) list.\n",
" | \n",
" | See `ndarray.tolist` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.tolist\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.tolist()\n",
" | [[0, 1, 2, 3], [4, 5, 6, 7], [8, 9, 10, 11]]\n",
" | \n",
" | var(self, axis=None, dtype=None, out=None, ddof=0)\n",
" | Returns the variance of the matrix elements, along the given axis.\n",
" | \n",
" | Refer to `numpy.var` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.var\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is the same as `ndarray.var`, except that where an `ndarray` would\n",
" | be returned, a `matrix` object is returned instead.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3, 4)))\n",
" | >>> x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.var()\n",
" | 11.916666666666666\n",
" | >>> x.var(0)\n",
" | matrix([[ 10.66666667, 10.66666667, 10.66666667, 10.66666667]]) # may vary\n",
" | >>> x.var(1)\n",
" | matrix([[1.25],\n",
" | [1.25],\n",
" | [1.25]])\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(subtype, data, dtype=None, copy=True)\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Readonly properties defined here:\n",
" | \n",
" | A\n",
" | Return `self` as an `ndarray` object.\n",
" | \n",
" | Equivalent to ``np.asarray(self)``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : ndarray\n",
" | `self` as an `ndarray`\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.getA()\n",
" | array([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | \n",
" | A1\n",
" | Return `self` as a flattened `ndarray`.\n",
" | \n",
" | Equivalent to ``np.asarray(x).ravel()``\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : ndarray\n",
" | `self`, 1-D, as an `ndarray`\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4))); x\n",
" | matrix([[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]])\n",
" | >>> x.getA1()\n",
" | array([ 0, 1, 2, ..., 9, 10, 11])\n",
" | \n",
" | H\n",
" | Returns the (complex) conjugate transpose of `self`.\n",
" | \n",
" | Equivalent to ``np.transpose(self)`` if `self` is real-valued.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix object\n",
" | complex conjugate transpose of `self`\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.matrix(np.arange(12).reshape((3,4)))\n",
" | >>> z = x - 1j*x; z\n",
" | matrix([[ 0. +0.j, 1. -1.j, 2. -2.j, 3. -3.j],\n",
" | [ 4. -4.j, 5. -5.j, 6. -6.j, 7. -7.j],\n",
" | [ 8. -8.j, 9. -9.j, 10.-10.j, 11.-11.j]])\n",
" | >>> z.getH()\n",
" | matrix([[ 0. -0.j, 4. +4.j, 8. +8.j],\n",
" | [ 1. +1.j, 5. +5.j, 9. +9.j],\n",
" | [ 2. +2.j, 6. +6.j, 10.+10.j],\n",
" | [ 3. +3.j, 7. +7.j, 11.+11.j]])\n",
" | \n",
" | I\n",
" | Returns the (multiplicative) inverse of invertible `self`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix object\n",
" | If `self` is non-singular, `ret` is such that ``ret * self`` ==\n",
" | ``self * ret`` == ``np.matrix(np.eye(self[0,:].size))`` all return\n",
" | ``True``.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | numpy.linalg.LinAlgError: Singular matrix\n",
" | If `self` is singular.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | linalg.inv\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> m = np.matrix('[1, 2; 3, 4]'); m\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | >>> m.getI()\n",
" | matrix([[-2. , 1. ],\n",
" | [ 1.5, -0.5]])\n",
" | >>> m.getI() * m\n",
" | matrix([[ 1., 0.], # may vary\n",
" | [ 0., 1.]])\n",
" | \n",
" | T\n",
" | Returns the transpose of the matrix.\n",
" | \n",
" | Does *not* conjugate! For the complex conjugate transpose, use ``.H``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | ret : matrix object\n",
" | The (non-conjugated) transpose of the matrix.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | transpose, getH\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> m = np.matrix('[1, 2; 3, 4]')\n",
" | >>> m\n",
" | matrix([[1, 2],\n",
" | [3, 4]])\n",
" | >>> m.getT()\n",
" | matrix([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __array_priority__ = 10.0\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from ndarray:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | a.__array__([dtype], /) -> reference if type unchanged, copy otherwise.\n",
" | \n",
" | Returns either a new reference to self if dtype is not given or a new array\n",
" | of provided data type if dtype is different from the current dtype of the\n",
" | array.\n",
" | \n",
" | __array_function__(...)\n",
" | \n",
" | __array_prepare__(...)\n",
" | a.__array_prepare__(obj) -> Object of same type as ndarray object obj.\n",
" | \n",
" | __array_ufunc__(...)\n",
" | \n",
" | __array_wrap__(...)\n",
" | a.__array_wrap__(obj) -> Object of same type as ndarray object a.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __copy__(...)\n",
" | a.__copy__()\n",
" | \n",
" | Used if :func:`copy.copy` is called on an array. Returns a copy of the array.\n",
" | \n",
" | Equivalent to ``a.copy(order='K')``.\n",
" | \n",
" | __deepcopy__(...)\n",
" | a.__deepcopy__(memo, /) -> Deep copy of array.\n",
" | \n",
" | Used if :func:`copy.deepcopy` is called on an array.\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | Default object formatter.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Return self+=value.\n",
" | \n",
" | __iand__(self, value, /)\n",
" | Return self&=value.\n",
" | \n",
" | __ifloordiv__(self, value, /)\n",
" | Return self//=value.\n",
" | \n",
" | __ilshift__(self, value, /)\n",
" | Return self<<=value.\n",
" | \n",
" | __imatmul__(self, value, /)\n",
" | Return self@=value.\n",
" | \n",
" | __imod__(self, value, /)\n",
" | Return self%=value.\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __ior__(self, value, /)\n",
" | Return self|=value.\n",
" | \n",
" | __irshift__(self, value, /)\n",
" | Return self>>=value.\n",
" | \n",
" | __isub__(self, value, /)\n",
" | Return self-=value.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __itruediv__(self, value, /)\n",
" | Return self/=value.\n",
" | \n",
" | __ixor__(self, value, /)\n",
" | Return self^=value.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setitem__(self, key, value, /)\n",
" | Set self[key] to value.\n",
" | \n",
" | __setstate__(...)\n",
" | a.__setstate__(state, /)\n",
" | \n",
" | For unpickling.\n",
" | \n",
" | The `state` argument must be a sequence that contains the following\n",
" | elements:\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | version : int\n",
" | optional pickle version. If omitted defaults to 0.\n",
" | shape : tuple\n",
" | dtype : data-type\n",
" | isFortran : bool\n",
" | rawdata : string or list\n",
" | a binary string with the data (or a list if 'a' is an object array)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | argpartition(...)\n",
" | a.argpartition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Returns the indices that would partition this array.\n",
" | \n",
" | Refer to `numpy.argpartition` for full documentation.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argpartition : equivalent function\n",
" | \n",
" | argsort(...)\n",
" | a.argsort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Returns the indices that would sort this array.\n",
" | \n",
" | Refer to `numpy.argsort` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argsort : equivalent function\n",
" | \n",
" | astype(...)\n",
" | a.astype(dtype, order='K', casting='unsafe', subok=True, copy=True)\n",
" | \n",
" | Copy of the array, cast to a specified type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | Typecode or data-type to which the array is cast.\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout order of the result.\n",
" | 'C' means C order, 'F' means Fortran order, 'A'\n",
" | means 'F' order if all the arrays are Fortran contiguous,\n",
" | 'C' order otherwise, and 'K' means as close to the\n",
" | order the array elements appear in memory as possible.\n",
" | Default is 'K'.\n",
" | casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional\n",
" | Controls what kind of data casting may occur. Defaults to 'unsafe'\n",
" | for backwards compatibility.\n",
" | \n",
" | * 'no' means the data types should not be cast at all.\n",
" | * 'equiv' means only byte-order changes are allowed.\n",
" | * 'safe' means only casts which can preserve values are allowed.\n",
" | * 'same_kind' means only safe casts or casts within a kind,\n",
" | like float64 to float32, are allowed.\n",
" | * 'unsafe' means any data conversions may be done.\n",
" | subok : bool, optional\n",
" | If True, then sub-classes will be passed-through (default), otherwise\n",
" | the returned array will be forced to be a base-class array.\n",
" | copy : bool, optional\n",
" | By default, astype always returns a newly allocated array. If this\n",
" | is set to false, and the `dtype`, `order`, and `subok`\n",
" | requirements are satisfied, the input array is returned instead\n",
" | of a copy.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | arr_t : ndarray\n",
" | Unless `copy` is False and the other conditions for returning the input\n",
" | array are satisfied (see description for `copy` input parameter), `arr_t`\n",
" | is a new array of the same shape as the input array, with dtype, order\n",
" | given by `dtype`, `order`.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | .. versionchanged:: 1.17.0\n",
" | Casting between a simple data type and a structured one is possible only\n",
" | for \"unsafe\" casting. Casting to multiple fields is allowed, but\n",
" | casting from multiple fields is not.\n",
" | \n",
" | .. versionchanged:: 1.9.0\n",
" | Casting from numeric to string types in 'safe' casting mode requires\n",
" | that the string dtype length is long enough to store the max\n",
" | integer/float value converted.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ComplexWarning\n",
" | When casting from complex to float or int. To avoid this,\n",
" | one should use ``a.real.astype(t)``.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 2.5])\n",
" | >>> x\n",
" | array([1. , 2. , 2.5])\n",
" | \n",
" | >>> x.astype(int)\n",
" | array([1, 2, 2])\n",
" | \n",
" | byteswap(...)\n",
" | a.byteswap(inplace=False)\n",
" | \n",
" | Swap the bytes of the array elements\n",
" | \n",
" | Toggle between low-endian and big-endian data representation by\n",
" | returning a byteswapped array, optionally swapped in-place.\n",
" | Arrays of byte-strings are not swapped. The real and imaginary\n",
" | parts of a complex number are swapped individually.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | inplace : bool, optional\n",
" | If ``True``, swap bytes in-place, default is ``False``.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | The byteswapped array. If `inplace` is ``True``, this is\n",
" | a view to self.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> A = np.array([1, 256, 8755], dtype=np.int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x1', '0x100', '0x2233']\n",
" | >>> A.byteswap(inplace=True)\n",
" | array([ 256, 1, 13090], dtype=int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x100', '0x1', '0x3322']\n",
" | \n",
" | Arrays of byte-strings are not swapped\n",
" | \n",
" | >>> A = np.array([b'ceg', b'fac'])\n",
" | >>> A.byteswap()\n",
" | array([b'ceg', b'fac'], dtype='|S3')\n",
" | \n",
" | ``A.newbyteorder().byteswap()`` produces an array with the same values\n",
" | but different representation in memory\n",
" | \n",
" | >>> A = np.array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,\n",
" | 0, 0], dtype=uint8)\n",
" | >>> A.newbyteorder().byteswap(inplace=True)\n",
" | array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0,\n",
" | 0, 3], dtype=uint8)\n",
" | \n",
" | choose(...)\n",
" | a.choose(choices, out=None, mode='raise')\n",
" | \n",
" | Use an index array to construct a new array from a set of choices.\n",
" | \n",
" | Refer to `numpy.choose` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.choose : equivalent function\n",
" | \n",
" | clip(...)\n",
" | a.clip(min=None, max=None, out=None, **kwargs)\n",
" | \n",
" | Return an array whose values are limited to ``[min, max]``.\n",
" | One of max or min must be given.\n",
" | \n",
" | Refer to `numpy.clip` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.clip : equivalent function\n",
" | \n",
" | compress(...)\n",
" | a.compress(condition, axis=None, out=None)\n",
" | \n",
" | Return selected slices of this array along given axis.\n",
" | \n",
" | Refer to `numpy.compress` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.compress : equivalent function\n",
" | \n",
" | conj(...)\n",
" | a.conj()\n",
" | \n",
" | Complex-conjugate all elements.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | conjugate(...)\n",
" | a.conjugate()\n",
" | \n",
" | Return the complex conjugate, element-wise.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | copy(...)\n",
" | a.copy(order='C')\n",
" | \n",
" | Return a copy of the array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout of the copy. 'C' means C-order,\n",
" | 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,\n",
" | 'C' otherwise. 'K' means match the layout of `a` as closely\n",
" | as possible. (Note that this function and :func:`numpy.copy` are very\n",
" | similar, but have different default values for their order=\n",
" | arguments.)\n",
" | \n",
" | See also\n",
" | --------\n",
" | numpy.copy\n",
" | numpy.copyto\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([[1,2,3],[4,5,6]], order='F')\n",
" | \n",
" | >>> y = x.copy()\n",
" | \n",
" | >>> x.fill(0)\n",
" | \n",
" | >>> x\n",
" | array([[0, 0, 0],\n",
" | [0, 0, 0]])\n",
" | \n",
" | >>> y\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | \n",
" | >>> y.flags['C_CONTIGUOUS']\n",
" | True\n",
" | \n",
" | cumprod(...)\n",
" | a.cumprod(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative product of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumprod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumprod : equivalent function\n",
" | \n",
" | cumsum(...)\n",
" | a.cumsum(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative sum of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumsum` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumsum : equivalent function\n",
" | \n",
" | diagonal(...)\n",
" | a.diagonal(offset=0, axis1=0, axis2=1)\n",
" | \n",
" | Return specified diagonals. In NumPy 1.9 the returned array is a\n",
" | read-only view instead of a copy as in previous NumPy versions. In\n",
" | a future version the read-only restriction will be removed.\n",
" | \n",
" | Refer to :func:`numpy.diagonal` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.diagonal : equivalent function\n",
" | \n",
" | dot(...)\n",
" | a.dot(b, out=None)\n",
" | \n",
" | Dot product of two arrays.\n",
" | \n",
" | Refer to `numpy.dot` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dot : equivalent function\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.eye(2)\n",
" | >>> b = np.ones((2, 2)) * 2\n",
" | >>> a.dot(b)\n",
" | array([[2., 2.],\n",
" | [2., 2.]])\n",
" | \n",
" | This array method can be conveniently chained:\n",
" | \n",
" | >>> a.dot(b).dot(b)\n",
" | array([[8., 8.],\n",
" | [8., 8.]])\n",
" | \n",
" | dump(...)\n",
" | a.dump(file)\n",
" | \n",
" | Dump a pickle of the array to the specified file.\n",
" | The array can be read back with pickle.load or numpy.load.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | file : str or Path\n",
" | A string naming the dump file.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | dumps(...)\n",
" | a.dumps()\n",
" | \n",
" | Returns the pickle of the array as a string.\n",
" | pickle.loads or numpy.loads will convert the string back to an array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | fill(...)\n",
" | a.fill(value)\n",
" | \n",
" | Fill the array with a scalar value.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | value : scalar\n",
" | All elements of `a` will be assigned this value.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([1, 2])\n",
" | >>> a.fill(0)\n",
" | >>> a\n",
" | array([0, 0])\n",
" | >>> a = np.empty(2)\n",
" | >>> a.fill(1)\n",
" | >>> a\n",
" | array([1., 1.])\n",
" | \n",
" | getfield(...)\n",
" | a.getfield(dtype, offset=0)\n",
" | \n",
" | Returns a field of the given array as a certain type.\n",
" | \n",
" | A field is a view of the array data with a given data-type. The values in\n",
" | the view are determined by the given type and the offset into the current\n",
" | array in bytes. The offset needs to be such that the view dtype fits in the\n",
" | array dtype; for example an array of dtype complex128 has 16-byte elements.\n",
" | If taking a view with a 32-bit integer (4 bytes), the offset needs to be\n",
" | between 0 and 12 bytes.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | The data type of the view. The dtype size of the view can not be larger\n",
" | than that of the array itself.\n",
" | offset : int\n",
" | Number of bytes to skip before beginning the element view.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.diag([1.+1.j]*2)\n",
" | >>> x[1, 1] = 2 + 4.j\n",
" | >>> x\n",
" | array([[1.+1.j, 0.+0.j],\n",
" | [0.+0.j, 2.+4.j]])\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0.],\n",
" | [0., 2.]])\n",
" | \n",
" | By choosing an offset of 8 bytes we can select the complex part of the\n",
" | array for our view:\n",
" | \n",
" | >>> x.getfield(np.float64, offset=8)\n",
" | array([[1., 0.],\n",
" | [0., 4.]])\n",
" | \n",
" | item(...)\n",
" | a.item(*args)\n",
" | \n",
" | Copy an element of an array to a standard Python scalar and return it.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments (variable number and type)\n",
" | \n",
" | * none: in this case, the method only works for arrays\n",
" | with one element (`a.size == 1`), which element is\n",
" | copied into a standard Python scalar object and returned.\n",
" | \n",
" | * int_type: this argument is interpreted as a flat index into\n",
" | the array, specifying which element to copy and return.\n",
" | \n",
" | * tuple of int_types: functions as does a single int_type argument,\n",
" | except that the argument is interpreted as an nd-index into the\n",
" | array.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | z : Standard Python scalar object\n",
" | A copy of the specified element of the array as a suitable\n",
" | Python scalar\n",
" | \n",
" | Notes\n",
" | -----\n",
" | When the data type of `a` is longdouble or clongdouble, item() returns\n",
" | a scalar array object because there is no available Python scalar that\n",
" | would not lose information. Void arrays return a buffer object for item(),\n",
" | unless fields are defined, in which case a tuple is returned.\n",
" | \n",
" | `item` is very similar to a[args], except, instead of an array scalar,\n",
" | a standard Python scalar is returned. This can be useful for speeding up\n",
" | access to elements of the array and doing arithmetic on elements of the\n",
" | array using Python's optimized math.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.item(3)\n",
" | 1\n",
" | >>> x.item(7)\n",
" | 0\n",
" | >>> x.item((0, 1))\n",
" | 2\n",
" | >>> x.item((2, 2))\n",
" | 1\n",
" | \n",
" | itemset(...)\n",
" | a.itemset(*args)\n",
" | \n",
" | Insert scalar into an array (scalar is cast to array's dtype, if possible)\n",
" | \n",
" | There must be at least 1 argument, and define the last argument\n",
" | as *item*. Then, ``a.itemset(*args)`` is equivalent to but faster\n",
" | than ``a[args] = item``. The item should be a scalar value and `args`\n",
" | must select a single item in the array `a`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments\n",
" | If one argument: a scalar, only used in case `a` is of size 1.\n",
" | If two arguments: the last argument is the value to be set\n",
" | and must be a scalar, the first argument specifies a single array\n",
" | element location. It is either an int or a tuple.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Compared to indexing syntax, `itemset` provides some speed increase\n",
" | for placing a scalar into a particular location in an `ndarray`,\n",
" | if you must do this. However, generally this is discouraged:\n",
" | among other problems, it complicates the appearance of the code.\n",
" | Also, when using `itemset` (and `item`) inside a loop, be sure\n",
" | to assign the methods to a local variable to avoid the attribute\n",
" | look-up at each loop iteration.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.itemset(4, 0)\n",
" | >>> x.itemset((2, 2), 9)\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 0, 6],\n",
" | [1, 0, 9]])\n",
" | \n",
" | newbyteorder(...)\n",
" | arr.newbyteorder(new_order='S')\n",
" | \n",
" | Return the array with the same data viewed with a different byte order.\n",
" | \n",
" | Equivalent to::\n",
" | \n",
" | arr.view(arr.dtype.newbytorder(new_order))\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the array data\n",
" | type.\n",
" | \n",
" | \n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : string, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | below. `new_order` codes can be any of:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_arr : array\n",
" | New array object with the dtype reflecting given change to the\n",
" | byte order.\n",
" | \n",
" | nonzero(...)\n",
" | a.nonzero()\n",
" | \n",
" | Return the indices of the elements that are non-zero.\n",
" | \n",
" | Refer to `numpy.nonzero` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.nonzero : equivalent function\n",
" | \n",
" | partition(...)\n",
" | a.partition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Rearranges the elements in the array in such a way that the value of the\n",
" | element in kth position is in the position it would be in a sorted array.\n",
" | All elements smaller than the kth element are moved before this element and\n",
" | all equal or greater are moved behind it. The ordering of the elements in\n",
" | the two partitions is undefined.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | kth : int or sequence of ints\n",
" | Element index to partition by. The kth element value will be in its\n",
" | final sorted position and all smaller elements will be moved before it\n",
" | and all equal or greater elements behind it.\n",
" | The order of all elements in the partitions is undefined.\n",
" | If provided with a sequence of kth it will partition all elements\n",
" | indexed by kth of them into their sorted position at once.\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'introselect'}, optional\n",
" | Selection algorithm. Default is 'introselect'.\n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need to be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.partition : Return a parititioned copy of an array.\n",
" | argpartition : Indirect partition.\n",
" | sort : Full sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See ``np.partition`` for notes on the different algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([3, 4, 2, 1])\n",
" | >>> a.partition(3)\n",
" | >>> a\n",
" | array([2, 1, 3, 4])\n",
" | \n",
" | >>> a.partition((1, 3))\n",
" | >>> a\n",
" | array([1, 2, 3, 4])\n",
" | \n",
" | put(...)\n",
" | a.put(indices, values, mode='raise')\n",
" | \n",
" | Set ``a.flat[n] = values[n]`` for all `n` in indices.\n",
" | \n",
" | Refer to `numpy.put` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.put : equivalent function\n",
" | \n",
" | repeat(...)\n",
" | a.repeat(repeats, axis=None)\n",
" | \n",
" | Repeat elements of an array.\n",
" | \n",
" | Refer to `numpy.repeat` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.repeat : equivalent function\n",
" | \n",
" | reshape(...)\n",
" | a.reshape(shape, order='C')\n",
" | \n",
" | Returns an array containing the same data with a new shape.\n",
" | \n",
" | Refer to `numpy.reshape` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : equivalent function\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Unlike the free function `numpy.reshape`, this method on `ndarray` allows\n",
" | the elements of the shape parameter to be passed in as separate arguments.\n",
" | For example, ``a.reshape(10, 11)`` is equivalent to\n",
" | ``a.reshape((10, 11))``.\n",
" | \n",
" | resize(...)\n",
" | a.resize(new_shape, refcheck=True)\n",
" | \n",
" | Change shape and size of array in-place.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_shape : tuple of ints, or `n` ints\n",
" | Shape of resized array.\n",
" | refcheck : bool, optional\n",
" | If False, reference count will not be checked. Default is True.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ValueError\n",
" | If `a` does not own its own data or references or views to it exist,\n",
" | and the data memory must be changed.\n",
" | PyPy only: will always raise if the data memory must be changed, since\n",
" | there is no reliable way to determine if references or views to it\n",
" | exist.\n",
" | \n",
" | SystemError\n",
" | If the `order` keyword argument is specified. This behaviour is a\n",
" | bug in NumPy.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | resize : Return a new array with the specified shape.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This reallocates space for the data area if necessary.\n",
" | \n",
" | Only contiguous arrays (data elements consecutive in memory) can be\n",
" | resized.\n",
" | \n",
" | The purpose of the reference count check is to make sure you\n",
" | do not use this array as a buffer for another Python object and then\n",
" | reallocate the memory. However, reference counts can increase in\n",
" | other ways so if you are sure that you have not shared the memory\n",
" | for this array with another Python object, then you may safely set\n",
" | `refcheck` to False.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Shrinking an array: array is flattened (in the order that the data are\n",
" | stored in memory), resized, and reshaped:\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='C')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [1]])\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='F')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [2]])\n",
" | \n",
" | Enlarging an array: as above, but missing entries are filled with zeros:\n",
" | \n",
" | >>> b = np.array([[0, 1], [2, 3]])\n",
" | >>> b.resize(2, 3) # new_shape parameter doesn't have to be a tuple\n",
" | >>> b\n",
" | array([[0, 1, 2],\n",
" | [3, 0, 0]])\n",
" | \n",
" | Referencing an array prevents resizing...\n",
" | \n",
" | >>> c = a\n",
" | >>> a.resize((1, 1))\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: cannot resize an array that references or is referenced ...\n",
" | \n",
" | Unless `refcheck` is False:\n",
" | \n",
" | >>> a.resize((1, 1), refcheck=False)\n",
" | >>> a\n",
" | array([[0]])\n",
" | >>> c\n",
" | array([[0]])\n",
" | \n",
" | round(...)\n",
" | a.round(decimals=0, out=None)\n",
" | \n",
" | Return `a` with each element rounded to the given number of decimals.\n",
" | \n",
" | Refer to `numpy.around` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.around : equivalent function\n",
" | \n",
" | searchsorted(...)\n",
" | a.searchsorted(v, side='left', sorter=None)\n",
" | \n",
" | Find indices where elements of v should be inserted in a to maintain order.\n",
" | \n",
" | For full documentation, see `numpy.searchsorted`\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.searchsorted : equivalent function\n",
" | \n",
" | setfield(...)\n",
" | a.setfield(val, dtype, offset=0)\n",
" | \n",
" | Put a value into a specified place in a field defined by a data-type.\n",
" | \n",
" | Place `val` into `a`'s field defined by `dtype` and beginning `offset`\n",
" | bytes into the field.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | val : object\n",
" | Value to be placed in field.\n",
" | dtype : dtype object\n",
" | Data-type of the field in which to place `val`.\n",
" | offset : int, optional\n",
" | The number of bytes into the field at which to place `val`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | See Also\n",
" | --------\n",
" | getfield\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.eye(3)\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | >>> x.setfield(3, np.int32)\n",
" | >>> x.getfield(np.int32)\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3],\n",
" | [3, 3, 3]], dtype=int32)\n",
" | >>> x\n",
" | array([[1.0e+000, 1.5e-323, 1.5e-323],\n",
" | [1.5e-323, 1.0e+000, 1.5e-323],\n",
" | [1.5e-323, 1.5e-323, 1.0e+000]])\n",
" | >>> x.setfield(np.eye(3), np.int32)\n",
" | >>> x\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | \n",
" | setflags(...)\n",
" | a.setflags(write=None, align=None, uic=None)\n",
" | \n",
" | Set array flags WRITEABLE, ALIGNED, (WRITEBACKIFCOPY and UPDATEIFCOPY),\n",
" | respectively.\n",
" | \n",
" | These Boolean-valued flags affect how numpy interprets the memory\n",
" | area used by `a` (see Notes below). The ALIGNED flag can only\n",
" | be set to True if the data is actually aligned according to the type.\n",
" | The WRITEBACKIFCOPY and (deprecated) UPDATEIFCOPY flags can never be set\n",
" | to True. The flag WRITEABLE can only be set to True if the array owns its\n",
" | own memory, or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface, or is a string. (The exception for string is made so that\n",
" | unpickling can be done without copying memory.)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | write : bool, optional\n",
" | Describes whether or not `a` can be written to.\n",
" | align : bool, optional\n",
" | Describes whether or not `a` is aligned properly for its type.\n",
" | uic : bool, optional\n",
" | Describes whether or not `a` is a copy of another \"base\" array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Array flags provide information about how the memory area used\n",
" | for the array is to be interpreted. There are 7 Boolean flags\n",
" | in use, only four of which can be changed by the user:\n",
" | WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED.\n",
" | \n",
" | WRITEABLE (W) the data area can be written to;\n",
" | \n",
" | ALIGNED (A) the data and strides are aligned appropriately for the hardware\n",
" | (as determined by the compiler);\n",
" | \n",
" | UPDATEIFCOPY (U) (deprecated), replaced by WRITEBACKIFCOPY;\n",
" | \n",
" | WRITEBACKIFCOPY (X) this array is a copy of some other array (referenced\n",
" | by .base). When the C-API function PyArray_ResolveWritebackIfCopy is\n",
" | called, the base array will be updated with the contents of this array.\n",
" | \n",
" | All flags can be accessed using the single (upper case) letter as well\n",
" | as the full name.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.array([[3, 1, 7],\n",
" | ... [2, 0, 0],\n",
" | ... [8, 5, 9]])\n",
" | >>> y\n",
" | array([[3, 1, 7],\n",
" | [2, 0, 0],\n",
" | [8, 5, 9]])\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : True\n",
" | ALIGNED : True\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(write=0, align=0)\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : False\n",
" | ALIGNED : False\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(uic=1)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: cannot set WRITEBACKIFCOPY flag to True\n",
" | \n",
" | sort(...)\n",
" | a.sort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Sort an array in-place. Refer to `numpy.sort` for full documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, optional\n",
" | Sorting algorithm. The default is 'quicksort'. Note that both 'stable'\n",
" | and 'mergesort' use timsort under the covers and, in general, the\n",
" | actual implementation will vary with datatype. The 'mergesort' option\n",
" | is retained for backwards compatibility.\n",
" | \n",
" | .. versionchanged:: 1.15.0.\n",
" | The 'stable' option was added.\n",
" | \n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.sort : Return a sorted copy of an array.\n",
" | numpy.argsort : Indirect sort.\n",
" | numpy.lexsort : Indirect stable sort on multiple keys.\n",
" | numpy.searchsorted : Find elements in sorted array.\n",
" | numpy.partition: Partial sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See `numpy.sort` for notes on the different sorting algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,4], [3,1]])\n",
" | >>> a.sort(axis=1)\n",
" | >>> a\n",
" | array([[1, 4],\n",
" | [1, 3]])\n",
" | >>> a.sort(axis=0)\n",
" | >>> a\n",
" | array([[1, 3],\n",
" | [1, 4]])\n",
" | \n",
" | Use the `order` keyword to specify a field to use when sorting a\n",
" | structured array:\n",
" | \n",
" | >>> a = np.array([('a', 2), ('c', 1)], dtype=[('x', 'S1'), ('y', int)])\n",
" | >>> a.sort(order='y')\n",
" | >>> a\n",
" | array([(b'c', 1), (b'a', 2)],\n",
" | dtype=[('x', 'S1'), ('y', '>> x = np.array([[0, 1], [2, 3]], dtype='>> x.tobytes()\n",
" | b'\\x00\\x00\\x01\\x00\\x02\\x00\\x03\\x00'\n",
" | >>> x.tobytes('C') == x.tobytes()\n",
" | True\n",
" | >>> x.tobytes('F')\n",
" | b'\\x00\\x00\\x02\\x00\\x01\\x00\\x03\\x00'\n",
" | \n",
" | tofile(...)\n",
" | a.tofile(fid, sep=\"\", format=\"%s\")\n",
" | \n",
" | Write array to a file as text or binary (default).\n",
" | \n",
" | Data is always written in 'C' order, independent of the order of `a`.\n",
" | The data produced by this method can be recovered using the function\n",
" | fromfile().\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | fid : file or str or Path\n",
" | An open file object, or a string containing a filename.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | sep : str\n",
" | Separator between array items for text output.\n",
" | If \"\" (empty), a binary file is written, equivalent to\n",
" | ``file.write(a.tobytes())``.\n",
" | format : str\n",
" | Format string for text file output.\n",
" | Each entry in the array is formatted to text by first converting\n",
" | it to the closest Python type, and then using \"format\" % item.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is a convenience function for quick storage of array data.\n",
" | Information on endianness and precision is lost, so this method is not a\n",
" | good choice for files intended to archive data or transport data between\n",
" | machines with different endianness. Some of these problems can be overcome\n",
" | by outputting the data as text files, at the expense of speed and file\n",
" | size.\n",
" | \n",
" | When fid is a file object, array contents are directly written to the\n",
" | file, bypassing the file object's ``write`` method. As a result, tofile\n",
" | cannot be used with files objects supporting compression (e.g., GzipFile)\n",
" | or file-like objects that do not support ``fileno()`` (e.g., BytesIO).\n",
" | \n",
" | tostring(...)\n",
" | a.tostring(order='C')\n",
" | \n",
" | A compatibility alias for `tobytes`, with exactly the same behavior.\n",
" | \n",
" | Despite its name, it returns `bytes` not `str`\\ s.\n",
" | \n",
" | .. deprecated:: 1.19.0\n",
" | \n",
" | trace(...)\n",
" | a.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None)\n",
" | \n",
" | Return the sum along diagonals of the array.\n",
" | \n",
" | Refer to `numpy.trace` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.trace : equivalent function\n",
" | \n",
" | transpose(...)\n",
" | a.transpose(*axes)\n",
" | \n",
" | Returns a view of the array with axes transposed.\n",
" | \n",
" | For a 1-D array this has no effect, as a transposed vector is simply the\n",
" | same vector. To convert a 1-D array into a 2D column vector, an additional\n",
" | dimension must be added. `np.atleast2d(a).T` achieves this, as does\n",
" | `a[:, np.newaxis]`.\n",
" | For a 2-D array, this is a standard matrix transpose.\n",
" | For an n-D array, if axes are given, their order indicates how the\n",
" | axes are permuted (see Examples). If axes are not provided and\n",
" | ``a.shape = (i[0], i[1], ... i[n-2], i[n-1])``, then\n",
" | ``a.transpose().shape = (i[n-1], i[n-2], ... i[1], i[0])``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axes : None, tuple of ints, or `n` ints\n",
" | \n",
" | * None or no argument: reverses the order of the axes.\n",
" | \n",
" | * tuple of ints: `i` in the `j`-th place in the tuple means `a`'s\n",
" | `i`-th axis becomes `a.transpose()`'s `j`-th axis.\n",
" | \n",
" | * `n` ints: same as an n-tuple of the same ints (this form is\n",
" | intended simply as a \"convenience\" alternative to the tuple form)\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | View of `a`, with axes suitably permuted.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.T : Array property returning the array transposed.\n",
" | ndarray.reshape : Give a new shape to an array without changing its data.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> a\n",
" | array([[1, 2],\n",
" | [3, 4]])\n",
" | >>> a.transpose()\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose((1, 0))\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose(1, 0)\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | view(...)\n",
" | a.view([dtype][, type])\n",
" | \n",
" | New view of array with the same data.\n",
" | \n",
" | .. note::\n",
" | Passing None for ``dtype`` is different from omitting the parameter,\n",
" | since the former invokes ``dtype(None)`` which is an alias for\n",
" | ``dtype('float_')``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : data-type or ndarray sub-class, optional\n",
" | Data-type descriptor of the returned view, e.g., float32 or int16.\n",
" | Omitting it results in the view having the same data-type as `a`.\n",
" | This argument can also be specified as an ndarray sub-class, which\n",
" | then specifies the type of the returned object (this is equivalent to\n",
" | setting the ``type`` parameter).\n",
" | type : Python type, optional\n",
" | Type of the returned view, e.g., ndarray or matrix. Again, omission\n",
" | of the parameter results in type preservation.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | ``a.view()`` is used two different ways:\n",
" | \n",
" | ``a.view(some_dtype)`` or ``a.view(dtype=some_dtype)`` constructs a view\n",
" | of the array's memory with a different data-type. This can cause a\n",
" | reinterpretation of the bytes of memory.\n",
" | \n",
" | ``a.view(ndarray_subclass)`` or ``a.view(type=ndarray_subclass)`` just\n",
" | returns an instance of `ndarray_subclass` that looks at the same array\n",
" | (same shape, dtype, etc.) This does not cause a reinterpretation of the\n",
" | memory.\n",
" | \n",
" | For ``a.view(some_dtype)``, if ``some_dtype`` has a different number of\n",
" | bytes per entry than the previous dtype (for example, converting a\n",
" | regular array to a structured array), then the behavior of the view\n",
" | cannot be predicted just from the superficial appearance of ``a`` (shown\n",
" | by ``print(a)``). It also depends on exactly how ``a`` is stored in\n",
" | memory. Therefore if ``a`` is C-ordered versus fortran-ordered, versus\n",
" | defined as a slice or transpose, etc., the view may give different\n",
" | results.\n",
" | \n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([(1, 2)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | \n",
" | Viewing array data using a different type and dtype:\n",
" | \n",
" | >>> y = x.view(dtype=np.int16, type=np.matrix)\n",
" | >>> y\n",
" | matrix([[513]], dtype=int16)\n",
" | >>> print(type(y))\n",
" | \n",
" | \n",
" | Creating a view on a structured array so it can be used in calculations\n",
" | \n",
" | >>> x = np.array([(1, 2),(3,4)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | >>> xv = x.view(dtype=np.int8).reshape(-1,2)\n",
" | >>> xv\n",
" | array([[1, 2],\n",
" | [3, 4]], dtype=int8)\n",
" | >>> xv.mean(0)\n",
" | array([2., 3.])\n",
" | \n",
" | Making changes to the view changes the underlying array\n",
" | \n",
" | >>> xv[0,1] = 20\n",
" | >>> x\n",
" | array([(1, 20), (3, 4)], dtype=[('a', 'i1'), ('b', 'i1')])\n",
" | \n",
" | Using a view to convert an array to a recarray:\n",
" | \n",
" | >>> z = x.view(np.recarray)\n",
" | >>> z.a\n",
" | array([1, 3], dtype=int8)\n",
" | \n",
" | Views share data:\n",
" | \n",
" | >>> x[0] = (9, 10)\n",
" | >>> z[0]\n",
" | (9, 10)\n",
" | \n",
" | Views that change the dtype size (bytes per entry) should normally be\n",
" | avoided on arrays defined by slices, transposes, fortran-ordering, etc.:\n",
" | \n",
" | >>> x = np.array([[1,2,3],[4,5,6]], dtype=np.int16)\n",
" | >>> y = x[:, 0:2]\n",
" | >>> y\n",
" | array([[1, 2],\n",
" | [4, 5]], dtype=int16)\n",
" | >>> y.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: To change to a dtype of a different size, the array must be C-contiguous\n",
" | >>> z = y.copy()\n",
" | >>> z.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | array([[(1, 2)],\n",
" | [(4, 5)]], dtype=[('width', '>> x = np.array([1,2,3,4])\n",
" | >>> x.base is None\n",
" | True\n",
" | \n",
" | Slicing creates a view, whose memory is shared with x:\n",
" | \n",
" | >>> y = x[2:]\n",
" | >>> y.base is x\n",
" | True\n",
" | \n",
" | ctypes\n",
" | An object to simplify the interaction of the array with the ctypes\n",
" | module.\n",
" | \n",
" | This attribute creates an object that makes it easier to use arrays\n",
" | when calling shared libraries with the ctypes module. The returned\n",
" | object has, among others, data, shape, and strides attributes (see\n",
" | Notes below) which themselves return ctypes objects that can be used\n",
" | as arguments to a shared library.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | c : Python object\n",
" | Possessing attributes data, shape, strides, etc.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ctypeslib\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Below are the public attributes of this object which were documented\n",
" | in \"Guide to NumPy\" (we have omitted undocumented public attributes,\n",
" | as well as documented private attributes):\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.data\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.shape\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.strides\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.data_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.shape_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.strides_as\n",
" | :noindex:\n",
" | \n",
" | If the ctypes module is not available, then the ctypes attribute\n",
" | of array objects still returns something useful, but ctypes objects\n",
" | are not returned and errors may be raised instead. In particular,\n",
" | the object will still have the ``as_parameter`` attribute which will\n",
" | return an integer equal to the data attribute.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> import ctypes\n",
" | >>> x = np.array([[0, 1], [2, 3]], dtype=np.int32)\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]], dtype=int32)\n",
" | >>> x.ctypes.data\n",
" | 31962608 # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32))\n",
" | <__main__.LP_c_uint object at 0x7ff2fc1fc200> # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32)).contents\n",
" | c_uint(0)\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint64)).contents\n",
" | c_ulong(4294967296)\n",
" | >>> x.ctypes.shape\n",
" | # may vary\n",
" | >>> x.ctypes.strides\n",
" | # may vary\n",
" | \n",
" | data\n",
" | Python buffer object pointing to the start of the array's data.\n",
" | \n",
" | dtype\n",
" | Data-type of the array's elements.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | d : numpy dtype object\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dtype\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]])\n",
" | >>> x.dtype\n",
" | dtype('int32')\n",
" | >>> type(x.dtype)\n",
" | \n",
" | \n",
" | flags\n",
" | Information about the memory layout of the array.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | C_CONTIGUOUS (C)\n",
" | The data is in a single, C-style contiguous segment.\n",
" | F_CONTIGUOUS (F)\n",
" | The data is in a single, Fortran-style contiguous segment.\n",
" | OWNDATA (O)\n",
" | The array owns the memory it uses or borrows it from another object.\n",
" | WRITEABLE (W)\n",
" | The data area can be written to. Setting this to False locks\n",
" | the data, making it read-only. A view (slice, etc.) inherits WRITEABLE\n",
" | from its base array at creation time, but a view of a writeable\n",
" | array may be subsequently locked while the base array remains writeable.\n",
" | (The opposite is not true, in that a view of a locked array may not\n",
" | be made writeable. However, currently, locking a base object does not\n",
" | lock any views that already reference it, so under that circumstance it\n",
" | is possible to alter the contents of a locked array via a previously\n",
" | created writeable view onto it.) Attempting to change a non-writeable\n",
" | array raises a RuntimeError exception.\n",
" | ALIGNED (A)\n",
" | The data and all elements are aligned appropriately for the hardware.\n",
" | WRITEBACKIFCOPY (X)\n",
" | This array is a copy of some other array. The C-API function\n",
" | PyArray_ResolveWritebackIfCopy must be called before deallocating\n",
" | to the base array will be updated with the contents of this array.\n",
" | UPDATEIFCOPY (U)\n",
" | (Deprecated, use WRITEBACKIFCOPY) This array is a copy of some other array.\n",
" | When this array is\n",
" | deallocated, the base array will be updated with the contents of\n",
" | this array.\n",
" | FNC\n",
" | F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | FORC\n",
" | F_CONTIGUOUS or C_CONTIGUOUS (one-segment test).\n",
" | BEHAVED (B)\n",
" | ALIGNED and WRITEABLE.\n",
" | CARRAY (CA)\n",
" | BEHAVED and C_CONTIGUOUS.\n",
" | FARRAY (FA)\n",
" | BEHAVED and F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The `flags` object can be accessed dictionary-like (as in ``a.flags['WRITEABLE']``),\n",
" | or by using lowercased attribute names (as in ``a.flags.writeable``). Short flag\n",
" | names are only supported in dictionary access.\n",
" | \n",
" | Only the WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be\n",
" | changed by the user, via direct assignment to the attribute or dictionary\n",
" | entry, or by calling `ndarray.setflags`.\n",
" | \n",
" | The array flags cannot be set arbitrarily:\n",
" | \n",
" | - UPDATEIFCOPY can only be set ``False``.\n",
" | - WRITEBACKIFCOPY can only be set ``False``.\n",
" | - ALIGNED can only be set ``True`` if the data is truly aligned.\n",
" | - WRITEABLE can only be set ``True`` if the array owns its own memory\n",
" | or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface or is a string.\n",
" | \n",
" | Arrays can be both C-style and Fortran-style contiguous simultaneously.\n",
" | This is clear for 1-dimensional arrays, but can also be true for higher\n",
" | dimensional arrays.\n",
" | \n",
" | Even for contiguous arrays a stride for a given dimension\n",
" | ``arr.strides[dim]`` may be *arbitrary* if ``arr.shape[dim] == 1``\n",
" | or the array has no elements.\n",
" | It does *not* generally hold that ``self.strides[-1] == self.itemsize``\n",
" | for C-style contiguous arrays or ``self.strides[0] == self.itemsize`` for\n",
" | Fortran-style contiguous arrays is true.\n",
" | \n",
" | flat\n",
" | A 1-D iterator over the array.\n",
" | \n",
" | This is a `numpy.flatiter` instance, which acts similarly to, but is not\n",
" | a subclass of, Python's built-in iterator object.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | flatten : Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(1, 7).reshape(2, 3)\n",
" | >>> x\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | >>> x.flat[3]\n",
" | 4\n",
" | >>> x.T\n",
" | array([[1, 4],\n",
" | [2, 5],\n",
" | [3, 6]])\n",
" | >>> x.T.flat[3]\n",
" | 5\n",
" | >>> type(x.flat)\n",
" | \n",
" | \n",
" | An assignment example:\n",
" | \n",
" | >>> x.flat = 3; x\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3]])\n",
" | >>> x.flat[[1,4]] = 1; x\n",
" | array([[3, 1, 3],\n",
" | [3, 1, 3]])\n",
" | \n",
" | imag\n",
" | The imaginary part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.imag\n",
" | array([ 0. , 0.70710678])\n",
" | >>> x.imag.dtype\n",
" | dtype('float64')\n",
" | \n",
" | itemsize\n",
" | Length of one array element in bytes.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1,2,3], dtype=np.float64)\n",
" | >>> x.itemsize\n",
" | 8\n",
" | >>> x = np.array([1,2,3], dtype=np.complex128)\n",
" | >>> x.itemsize\n",
" | 16\n",
" | \n",
" | nbytes\n",
" | Total bytes consumed by the elements of the array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Does not include memory consumed by non-element attributes of the\n",
" | array object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3,5,2), dtype=np.complex128)\n",
" | >>> x.nbytes\n",
" | 480\n",
" | >>> np.prod(x.shape) * x.itemsize\n",
" | 480\n",
" | \n",
" | ndim\n",
" | Number of array dimensions.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> x.ndim\n",
" | 1\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.ndim\n",
" | 3\n",
" | \n",
" | real\n",
" | The real part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.real\n",
" | array([ 1. , 0.70710678])\n",
" | >>> x.real.dtype\n",
" | dtype('float64')\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.real : equivalent function\n",
" | \n",
" | shape\n",
" | Tuple of array dimensions.\n",
" | \n",
" | The shape property is usually used to get the current shape of an array,\n",
" | but may also be used to reshape the array in-place by assigning a tuple of\n",
" | array dimensions to it. As with `numpy.reshape`, one of the new shape\n",
" | dimensions can be -1, in which case its value is inferred from the size of\n",
" | the array and the remaining dimensions. Reshaping an array in-place will\n",
" | fail if a copy is required.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3, 4])\n",
" | >>> x.shape\n",
" | (4,)\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.shape\n",
" | (2, 3, 4)\n",
" | >>> y.shape = (3, 8)\n",
" | >>> y\n",
" | array([[ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.]])\n",
" | >>> y.shape = (3, 6)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: total size of new array must be unchanged\n",
" | >>> np.zeros((4,2))[::2].shape = (-1,)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | AttributeError: Incompatible shape for in-place modification. Use\n",
" | `.reshape()` to make a copy with the desired shape.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : similar function\n",
" | ndarray.reshape : similar method\n",
" | \n",
" | size\n",
" | Number of elements in the array.\n",
" | \n",
" | Equal to ``np.prod(a.shape)``, i.e., the product of the array's\n",
" | dimensions.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | `a.size` returns a standard arbitrary precision Python integer. This\n",
" | may not be the case with other methods of obtaining the same value\n",
" | (like the suggested ``np.prod(a.shape)``, which returns an instance\n",
" | of ``np.int_``), and may be relevant if the value is used further in\n",
" | calculations that may overflow a fixed size integer type.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3, 5, 2), dtype=np.complex128)\n",
" | >>> x.size\n",
" | 30\n",
" | >>> np.prod(x.shape)\n",
" | 30\n",
" | \n",
" | strides\n",
" | Tuple of bytes to step in each dimension when traversing an array.\n",
" | \n",
" | The byte offset of element ``(i[0], i[1], ..., i[n])`` in an array `a`\n",
" | is::\n",
" | \n",
" | offset = sum(np.array(i) * a.strides)\n",
" | \n",
" | A more detailed explanation of strides can be found in the\n",
" | \"ndarray.rst\" file in the NumPy reference guide.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Imagine an array of 32-bit integers (each 4 bytes)::\n",
" | \n",
" | x = np.array([[0, 1, 2, 3, 4],\n",
" | [5, 6, 7, 8, 9]], dtype=np.int32)\n",
" | \n",
" | This array is stored in memory as 40 bytes, one after the other\n",
" | (known as a contiguous block of memory). The strides of an array tell\n",
" | us how many bytes we have to skip in memory to move to the next position\n",
" | along a certain axis. For example, we have to skip 4 bytes (1 value) to\n",
" | move to the next column, but 20 bytes (5 values) to get to the same\n",
" | position in the next row. As such, the strides for the array `x` will be\n",
" | ``(20, 4)``.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.lib.stride_tricks.as_strided\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.reshape(np.arange(2*3*4), (2,3,4))\n",
" | >>> y\n",
" | array([[[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]],\n",
" | [[12, 13, 14, 15],\n",
" | [16, 17, 18, 19],\n",
" | [20, 21, 22, 23]]])\n",
" | >>> y.strides\n",
" | (48, 16, 4)\n",
" | >>> y[1,1,1]\n",
" | 17\n",
" | >>> offset=sum(y.strides * np.array((1,1,1)))\n",
" | >>> offset/y.itemsize\n",
" | 17\n",
" | \n",
" | >>> x = np.reshape(np.arange(5*6*7*8), (5,6,7,8)).transpose(2,3,1,0)\n",
" | >>> x.strides\n",
" | (32, 4, 224, 1344)\n",
" | >>> i = np.array([3,5,2,2])\n",
" | >>> offset = sum(i * x.strides)\n",
" | >>> x[3,5,2,2]\n",
" | 813\n",
" | >>> offset / x.itemsize\n",
" | 813\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from ndarray:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class memmap(ndarray)\n",
" | memmap(filename, dtype=, mode='r+', offset=0, shape=None, order='C')\n",
" | \n",
" | Create a memory-map to an array stored in a *binary* file on disk.\n",
" | \n",
" | Memory-mapped files are used for accessing small segments of large files\n",
" | on disk, without reading the entire file into memory. NumPy's\n",
" | memmap's are array-like objects. This differs from Python's ``mmap``\n",
" | module, which uses file-like objects.\n",
" | \n",
" | This subclass of ndarray has some unpleasant interactions with\n",
" | some operations, because it doesn't quite fit properly as a subclass.\n",
" | An alternative to using this subclass is to create the ``mmap``\n",
" | object yourself, then create an ndarray with ndarray.__new__ directly,\n",
" | passing the object created in its 'buffer=' parameter.\n",
" | \n",
" | This class may at some point be turned into a factory function\n",
" | which returns a view into an mmap buffer.\n",
" | \n",
" | Delete the memmap instance to close the memmap file.\n",
" | \n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | filename : str, file-like object, or pathlib.Path instance\n",
" | The file name or file object to be used as the array data buffer.\n",
" | dtype : data-type, optional\n",
" | The data-type used to interpret the file contents.\n",
" | Default is `uint8`.\n",
" | mode : {'r+', 'r', 'w+', 'c'}, optional\n",
" | The file is opened in this mode:\n",
" | \n",
" | +------+-------------------------------------------------------------+\n",
" | | 'r' | Open existing file for reading only. |\n",
" | +------+-------------------------------------------------------------+\n",
" | | 'r+' | Open existing file for reading and writing. |\n",
" | +------+-------------------------------------------------------------+\n",
" | | 'w+' | Create or overwrite existing file for reading and writing. |\n",
" | +------+-------------------------------------------------------------+\n",
" | | 'c' | Copy-on-write: assignments affect data in memory, but |\n",
" | | | changes are not saved to disk. The file on disk is |\n",
" | | | read-only. |\n",
" | +------+-------------------------------------------------------------+\n",
" | \n",
" | Default is 'r+'.\n",
" | offset : int, optional\n",
" | In the file, array data starts at this offset. Since `offset` is\n",
" | measured in bytes, it should normally be a multiple of the byte-size\n",
" | of `dtype`. When ``mode != 'r'``, even positive offsets beyond end of\n",
" | file are valid; The file will be extended to accommodate the\n",
" | additional data. By default, ``memmap`` will start at the beginning of\n",
" | the file, even if ``filename`` is a file pointer ``fp`` and\n",
" | ``fp.tell() != 0``.\n",
" | shape : tuple, optional\n",
" | The desired shape of the array. If ``mode == 'r'`` and the number\n",
" | of remaining bytes after `offset` is not a multiple of the byte-size\n",
" | of `dtype`, you must specify `shape`. By default, the returned array\n",
" | will be 1-D with the number of elements determined by file size\n",
" | and data-type.\n",
" | order : {'C', 'F'}, optional\n",
" | Specify the order of the ndarray memory layout:\n",
" | :term:`row-major`, C-style or :term:`column-major`,\n",
" | Fortran-style. This only has an effect if the shape is\n",
" | greater than 1-D. The default order is 'C'.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | filename : str or pathlib.Path instance\n",
" | Path to the mapped file.\n",
" | offset : int\n",
" | Offset position in the file.\n",
" | mode : str\n",
" | File mode.\n",
" | \n",
" | Methods\n",
" | -------\n",
" | flush\n",
" | Flush any changes in memory to file on disk.\n",
" | When you delete a memmap object, flush is called first to write\n",
" | changes to disk before removing the object.\n",
" | \n",
" | \n",
" | See also\n",
" | --------\n",
" | lib.format.open_memmap : Create or load a memory-mapped ``.npy`` file.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The memmap object can be used anywhere an ndarray is accepted.\n",
" | Given a memmap ``fp``, ``isinstance(fp, numpy.ndarray)`` returns\n",
" | ``True``.\n",
" | \n",
" | Memory-mapped files cannot be larger than 2GB on 32-bit systems.\n",
" | \n",
" | When a memmap causes a file to be created or extended beyond its\n",
" | current size in the filesystem, the contents of the new part are\n",
" | unspecified. On systems with POSIX filesystem semantics, the extended\n",
" | part will be filled with zero bytes.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> data = np.arange(12, dtype='float32')\n",
" | >>> data.resize((3,4))\n",
" | \n",
" | This example uses a temporary file so that doctest doesn't write\n",
" | files to your directory. You would use a 'normal' filename.\n",
" | \n",
" | >>> from tempfile import mkdtemp\n",
" | >>> import os.path as path\n",
" | >>> filename = path.join(mkdtemp(), 'newfile.dat')\n",
" | \n",
" | Create a memmap with dtype and shape that matches our data:\n",
" | \n",
" | >>> fp = np.memmap(filename, dtype='float32', mode='w+', shape=(3,4))\n",
" | >>> fp\n",
" | memmap([[0., 0., 0., 0.],\n",
" | [0., 0., 0., 0.],\n",
" | [0., 0., 0., 0.]], dtype=float32)\n",
" | \n",
" | Write data to memmap array:\n",
" | \n",
" | >>> fp[:] = data[:]\n",
" | >>> fp\n",
" | memmap([[ 0., 1., 2., 3.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.]], dtype=float32)\n",
" | \n",
" | >>> fp.filename == path.abspath(filename)\n",
" | True\n",
" | \n",
" | Deletion flushes memory changes to disk before removing the object:\n",
" | \n",
" | >>> del fp\n",
" | \n",
" | Load the memmap and verify data was stored:\n",
" | \n",
" | >>> newfp = np.memmap(filename, dtype='float32', mode='r', shape=(3,4))\n",
" | >>> newfp\n",
" | memmap([[ 0., 1., 2., 3.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.]], dtype=float32)\n",
" | \n",
" | Read-only memmap:\n",
" | \n",
" | >>> fpr = np.memmap(filename, dtype='float32', mode='r', shape=(3,4))\n",
" | >>> fpr.flags.writeable\n",
" | False\n",
" | \n",
" | Copy-on-write memmap:\n",
" | \n",
" | >>> fpc = np.memmap(filename, dtype='float32', mode='c', shape=(3,4))\n",
" | >>> fpc.flags.writeable\n",
" | True\n",
" | \n",
" | It's possible to assign to copy-on-write array, but values are only\n",
" | written into the memory copy of the array, and not written to disk:\n",
" | \n",
" | >>> fpc\n",
" | memmap([[ 0., 1., 2., 3.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.]], dtype=float32)\n",
" | >>> fpc[0,:] = 0\n",
" | >>> fpc\n",
" | memmap([[ 0., 0., 0., 0.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.]], dtype=float32)\n",
" | \n",
" | File on disk is unchanged:\n",
" | \n",
" | >>> fpr\n",
" | memmap([[ 0., 1., 2., 3.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.]], dtype=float32)\n",
" | \n",
" | Offset into a memmap:\n",
" | \n",
" | >>> fpo = np.memmap(filename, dtype='float32', mode='r', offset=16)\n",
" | >>> fpo\n",
" | memmap([ 4., 5., 6., 7., 8., 9., 10., 11.], dtype=float32)\n",
" | \n",
" | Method resolution order:\n",
" | memmap\n",
" | ndarray\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __array_finalize__(self, obj)\n",
" | None.\n",
" | \n",
" | __array_wrap__(self, arr, context=None)\n",
" | a.__array_wrap__(obj) -> Object of same type as ndarray object a.\n",
" | \n",
" | __getitem__(self, index)\n",
" | Return self[key].\n",
" | \n",
" | flush(self)\n",
" | Write any changes in the array to the file on disk.\n",
" | \n",
" | For further information, see `memmap`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | See Also\n",
" | --------\n",
" | memmap\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(subtype, filename, dtype=, mode='r+', offset=0, shape=None, order='C')\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __array_priority__ = -100.0\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from ndarray:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | a.__array__([dtype], /) -> reference if type unchanged, copy otherwise.\n",
" | \n",
" | Returns either a new reference to self if dtype is not given or a new array\n",
" | of provided data type if dtype is different from the current dtype of the\n",
" | array.\n",
" | \n",
" | __array_function__(...)\n",
" | \n",
" | __array_prepare__(...)\n",
" | a.__array_prepare__(obj) -> Object of same type as ndarray object obj.\n",
" | \n",
" | __array_ufunc__(...)\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __copy__(...)\n",
" | a.__copy__()\n",
" | \n",
" | Used if :func:`copy.copy` is called on an array. Returns a copy of the array.\n",
" | \n",
" | Equivalent to ``a.copy(order='K')``.\n",
" | \n",
" | __deepcopy__(...)\n",
" | a.__deepcopy__(memo, /) -> Deep copy of array.\n",
" | \n",
" | Used if :func:`copy.deepcopy` is called on an array.\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | Default object formatter.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Return self+=value.\n",
" | \n",
" | __iand__(self, value, /)\n",
" | Return self&=value.\n",
" | \n",
" | __ifloordiv__(self, value, /)\n",
" | Return self//=value.\n",
" | \n",
" | __ilshift__(self, value, /)\n",
" | Return self<<=value.\n",
" | \n",
" | __imatmul__(self, value, /)\n",
" | Return self@=value.\n",
" | \n",
" | __imod__(self, value, /)\n",
" | Return self%=value.\n",
" | \n",
" | __imul__(self, value, /)\n",
" | Return self*=value.\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __ior__(self, value, /)\n",
" | Return self|=value.\n",
" | \n",
" | __ipow__(self, value, /)\n",
" | Return self**=value.\n",
" | \n",
" | __irshift__(self, value, /)\n",
" | Return self>>=value.\n",
" | \n",
" | __isub__(self, value, /)\n",
" | Return self-=value.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __itruediv__(self, value, /)\n",
" | Return self/=value.\n",
" | \n",
" | __ixor__(self, value, /)\n",
" | Return self^=value.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setitem__(self, key, value, /)\n",
" | Set self[key] to value.\n",
" | \n",
" | __setstate__(...)\n",
" | a.__setstate__(state, /)\n",
" | \n",
" | For unpickling.\n",
" | \n",
" | The `state` argument must be a sequence that contains the following\n",
" | elements:\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | version : int\n",
" | optional pickle version. If omitted defaults to 0.\n",
" | shape : tuple\n",
" | dtype : data-type\n",
" | isFortran : bool\n",
" | rawdata : string or list\n",
" | a binary string with the data (or a list if 'a' is an object array)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | a.all(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if all elements evaluate to True.\n",
" | \n",
" | Refer to `numpy.all` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.all : equivalent function\n",
" | \n",
" | any(...)\n",
" | a.any(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if any of the elements of `a` evaluate to True.\n",
" | \n",
" | Refer to `numpy.any` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.any : equivalent function\n",
" | \n",
" | argmax(...)\n",
" | a.argmax(axis=None, out=None)\n",
" | \n",
" | Return indices of the maximum values along the given axis.\n",
" | \n",
" | Refer to `numpy.argmax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmax : equivalent function\n",
" | \n",
" | argmin(...)\n",
" | a.argmin(axis=None, out=None)\n",
" | \n",
" | Return indices of the minimum values along the given axis of `a`.\n",
" | \n",
" | Refer to `numpy.argmin` for detailed documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmin : equivalent function\n",
" | \n",
" | argpartition(...)\n",
" | a.argpartition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Returns the indices that would partition this array.\n",
" | \n",
" | Refer to `numpy.argpartition` for full documentation.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argpartition : equivalent function\n",
" | \n",
" | argsort(...)\n",
" | a.argsort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Returns the indices that would sort this array.\n",
" | \n",
" | Refer to `numpy.argsort` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argsort : equivalent function\n",
" | \n",
" | astype(...)\n",
" | a.astype(dtype, order='K', casting='unsafe', subok=True, copy=True)\n",
" | \n",
" | Copy of the array, cast to a specified type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | Typecode or data-type to which the array is cast.\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout order of the result.\n",
" | 'C' means C order, 'F' means Fortran order, 'A'\n",
" | means 'F' order if all the arrays are Fortran contiguous,\n",
" | 'C' order otherwise, and 'K' means as close to the\n",
" | order the array elements appear in memory as possible.\n",
" | Default is 'K'.\n",
" | casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional\n",
" | Controls what kind of data casting may occur. Defaults to 'unsafe'\n",
" | for backwards compatibility.\n",
" | \n",
" | * 'no' means the data types should not be cast at all.\n",
" | * 'equiv' means only byte-order changes are allowed.\n",
" | * 'safe' means only casts which can preserve values are allowed.\n",
" | * 'same_kind' means only safe casts or casts within a kind,\n",
" | like float64 to float32, are allowed.\n",
" | * 'unsafe' means any data conversions may be done.\n",
" | subok : bool, optional\n",
" | If True, then sub-classes will be passed-through (default), otherwise\n",
" | the returned array will be forced to be a base-class array.\n",
" | copy : bool, optional\n",
" | By default, astype always returns a newly allocated array. If this\n",
" | is set to false, and the `dtype`, `order`, and `subok`\n",
" | requirements are satisfied, the input array is returned instead\n",
" | of a copy.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | arr_t : ndarray\n",
" | Unless `copy` is False and the other conditions for returning the input\n",
" | array are satisfied (see description for `copy` input parameter), `arr_t`\n",
" | is a new array of the same shape as the input array, with dtype, order\n",
" | given by `dtype`, `order`.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | .. versionchanged:: 1.17.0\n",
" | Casting between a simple data type and a structured one is possible only\n",
" | for \"unsafe\" casting. Casting to multiple fields is allowed, but\n",
" | casting from multiple fields is not.\n",
" | \n",
" | .. versionchanged:: 1.9.0\n",
" | Casting from numeric to string types in 'safe' casting mode requires\n",
" | that the string dtype length is long enough to store the max\n",
" | integer/float value converted.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ComplexWarning\n",
" | When casting from complex to float or int. To avoid this,\n",
" | one should use ``a.real.astype(t)``.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 2.5])\n",
" | >>> x\n",
" | array([1. , 2. , 2.5])\n",
" | \n",
" | >>> x.astype(int)\n",
" | array([1, 2, 2])\n",
" | \n",
" | byteswap(...)\n",
" | a.byteswap(inplace=False)\n",
" | \n",
" | Swap the bytes of the array elements\n",
" | \n",
" | Toggle between low-endian and big-endian data representation by\n",
" | returning a byteswapped array, optionally swapped in-place.\n",
" | Arrays of byte-strings are not swapped. The real and imaginary\n",
" | parts of a complex number are swapped individually.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | inplace : bool, optional\n",
" | If ``True``, swap bytes in-place, default is ``False``.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | The byteswapped array. If `inplace` is ``True``, this is\n",
" | a view to self.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> A = np.array([1, 256, 8755], dtype=np.int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x1', '0x100', '0x2233']\n",
" | >>> A.byteswap(inplace=True)\n",
" | array([ 256, 1, 13090], dtype=int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x100', '0x1', '0x3322']\n",
" | \n",
" | Arrays of byte-strings are not swapped\n",
" | \n",
" | >>> A = np.array([b'ceg', b'fac'])\n",
" | >>> A.byteswap()\n",
" | array([b'ceg', b'fac'], dtype='|S3')\n",
" | \n",
" | ``A.newbyteorder().byteswap()`` produces an array with the same values\n",
" | but different representation in memory\n",
" | \n",
" | >>> A = np.array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,\n",
" | 0, 0], dtype=uint8)\n",
" | >>> A.newbyteorder().byteswap(inplace=True)\n",
" | array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0,\n",
" | 0, 3], dtype=uint8)\n",
" | \n",
" | choose(...)\n",
" | a.choose(choices, out=None, mode='raise')\n",
" | \n",
" | Use an index array to construct a new array from a set of choices.\n",
" | \n",
" | Refer to `numpy.choose` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.choose : equivalent function\n",
" | \n",
" | clip(...)\n",
" | a.clip(min=None, max=None, out=None, **kwargs)\n",
" | \n",
" | Return an array whose values are limited to ``[min, max]``.\n",
" | One of max or min must be given.\n",
" | \n",
" | Refer to `numpy.clip` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.clip : equivalent function\n",
" | \n",
" | compress(...)\n",
" | a.compress(condition, axis=None, out=None)\n",
" | \n",
" | Return selected slices of this array along given axis.\n",
" | \n",
" | Refer to `numpy.compress` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.compress : equivalent function\n",
" | \n",
" | conj(...)\n",
" | a.conj()\n",
" | \n",
" | Complex-conjugate all elements.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | conjugate(...)\n",
" | a.conjugate()\n",
" | \n",
" | Return the complex conjugate, element-wise.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | copy(...)\n",
" | a.copy(order='C')\n",
" | \n",
" | Return a copy of the array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout of the copy. 'C' means C-order,\n",
" | 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,\n",
" | 'C' otherwise. 'K' means match the layout of `a` as closely\n",
" | as possible. (Note that this function and :func:`numpy.copy` are very\n",
" | similar, but have different default values for their order=\n",
" | arguments.)\n",
" | \n",
" | See also\n",
" | --------\n",
" | numpy.copy\n",
" | numpy.copyto\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([[1,2,3],[4,5,6]], order='F')\n",
" | \n",
" | >>> y = x.copy()\n",
" | \n",
" | >>> x.fill(0)\n",
" | \n",
" | >>> x\n",
" | array([[0, 0, 0],\n",
" | [0, 0, 0]])\n",
" | \n",
" | >>> y\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | \n",
" | >>> y.flags['C_CONTIGUOUS']\n",
" | True\n",
" | \n",
" | cumprod(...)\n",
" | a.cumprod(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative product of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumprod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumprod : equivalent function\n",
" | \n",
" | cumsum(...)\n",
" | a.cumsum(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative sum of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumsum` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumsum : equivalent function\n",
" | \n",
" | diagonal(...)\n",
" | a.diagonal(offset=0, axis1=0, axis2=1)\n",
" | \n",
" | Return specified diagonals. In NumPy 1.9 the returned array is a\n",
" | read-only view instead of a copy as in previous NumPy versions. In\n",
" | a future version the read-only restriction will be removed.\n",
" | \n",
" | Refer to :func:`numpy.diagonal` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.diagonal : equivalent function\n",
" | \n",
" | dot(...)\n",
" | a.dot(b, out=None)\n",
" | \n",
" | Dot product of two arrays.\n",
" | \n",
" | Refer to `numpy.dot` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dot : equivalent function\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.eye(2)\n",
" | >>> b = np.ones((2, 2)) * 2\n",
" | >>> a.dot(b)\n",
" | array([[2., 2.],\n",
" | [2., 2.]])\n",
" | \n",
" | This array method can be conveniently chained:\n",
" | \n",
" | >>> a.dot(b).dot(b)\n",
" | array([[8., 8.],\n",
" | [8., 8.]])\n",
" | \n",
" | dump(...)\n",
" | a.dump(file)\n",
" | \n",
" | Dump a pickle of the array to the specified file.\n",
" | The array can be read back with pickle.load or numpy.load.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | file : str or Path\n",
" | A string naming the dump file.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | dumps(...)\n",
" | a.dumps()\n",
" | \n",
" | Returns the pickle of the array as a string.\n",
" | pickle.loads or numpy.loads will convert the string back to an array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | fill(...)\n",
" | a.fill(value)\n",
" | \n",
" | Fill the array with a scalar value.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | value : scalar\n",
" | All elements of `a` will be assigned this value.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([1, 2])\n",
" | >>> a.fill(0)\n",
" | >>> a\n",
" | array([0, 0])\n",
" | >>> a = np.empty(2)\n",
" | >>> a.fill(1)\n",
" | >>> a\n",
" | array([1., 1.])\n",
" | \n",
" | flatten(...)\n",
" | a.flatten(order='C')\n",
" | \n",
" | Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | 'C' means to flatten in row-major (C-style) order.\n",
" | 'F' means to flatten in column-major (Fortran-\n",
" | style) order. 'A' means to flatten in column-major\n",
" | order if `a` is Fortran *contiguous* in memory,\n",
" | row-major order otherwise. 'K' means to flatten\n",
" | `a` in the order the elements occur in memory.\n",
" | The default is 'C'.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : ndarray\n",
" | A copy of the input array, flattened to one dimension.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ravel : Return a flattened array.\n",
" | flat : A 1-D flat iterator over the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,2], [3,4]])\n",
" | >>> a.flatten()\n",
" | array([1, 2, 3, 4])\n",
" | >>> a.flatten('F')\n",
" | array([1, 3, 2, 4])\n",
" | \n",
" | getfield(...)\n",
" | a.getfield(dtype, offset=0)\n",
" | \n",
" | Returns a field of the given array as a certain type.\n",
" | \n",
" | A field is a view of the array data with a given data-type. The values in\n",
" | the view are determined by the given type and the offset into the current\n",
" | array in bytes. The offset needs to be such that the view dtype fits in the\n",
" | array dtype; for example an array of dtype complex128 has 16-byte elements.\n",
" | If taking a view with a 32-bit integer (4 bytes), the offset needs to be\n",
" | between 0 and 12 bytes.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | The data type of the view. The dtype size of the view can not be larger\n",
" | than that of the array itself.\n",
" | offset : int\n",
" | Number of bytes to skip before beginning the element view.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.diag([1.+1.j]*2)\n",
" | >>> x[1, 1] = 2 + 4.j\n",
" | >>> x\n",
" | array([[1.+1.j, 0.+0.j],\n",
" | [0.+0.j, 2.+4.j]])\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0.],\n",
" | [0., 2.]])\n",
" | \n",
" | By choosing an offset of 8 bytes we can select the complex part of the\n",
" | array for our view:\n",
" | \n",
" | >>> x.getfield(np.float64, offset=8)\n",
" | array([[1., 0.],\n",
" | [0., 4.]])\n",
" | \n",
" | item(...)\n",
" | a.item(*args)\n",
" | \n",
" | Copy an element of an array to a standard Python scalar and return it.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments (variable number and type)\n",
" | \n",
" | * none: in this case, the method only works for arrays\n",
" | with one element (`a.size == 1`), which element is\n",
" | copied into a standard Python scalar object and returned.\n",
" | \n",
" | * int_type: this argument is interpreted as a flat index into\n",
" | the array, specifying which element to copy and return.\n",
" | \n",
" | * tuple of int_types: functions as does a single int_type argument,\n",
" | except that the argument is interpreted as an nd-index into the\n",
" | array.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | z : Standard Python scalar object\n",
" | A copy of the specified element of the array as a suitable\n",
" | Python scalar\n",
" | \n",
" | Notes\n",
" | -----\n",
" | When the data type of `a` is longdouble or clongdouble, item() returns\n",
" | a scalar array object because there is no available Python scalar that\n",
" | would not lose information. Void arrays return a buffer object for item(),\n",
" | unless fields are defined, in which case a tuple is returned.\n",
" | \n",
" | `item` is very similar to a[args], except, instead of an array scalar,\n",
" | a standard Python scalar is returned. This can be useful for speeding up\n",
" | access to elements of the array and doing arithmetic on elements of the\n",
" | array using Python's optimized math.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.item(3)\n",
" | 1\n",
" | >>> x.item(7)\n",
" | 0\n",
" | >>> x.item((0, 1))\n",
" | 2\n",
" | >>> x.item((2, 2))\n",
" | 1\n",
" | \n",
" | itemset(...)\n",
" | a.itemset(*args)\n",
" | \n",
" | Insert scalar into an array (scalar is cast to array's dtype, if possible)\n",
" | \n",
" | There must be at least 1 argument, and define the last argument\n",
" | as *item*. Then, ``a.itemset(*args)`` is equivalent to but faster\n",
" | than ``a[args] = item``. The item should be a scalar value and `args`\n",
" | must select a single item in the array `a`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments\n",
" | If one argument: a scalar, only used in case `a` is of size 1.\n",
" | If two arguments: the last argument is the value to be set\n",
" | and must be a scalar, the first argument specifies a single array\n",
" | element location. It is either an int or a tuple.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Compared to indexing syntax, `itemset` provides some speed increase\n",
" | for placing a scalar into a particular location in an `ndarray`,\n",
" | if you must do this. However, generally this is discouraged:\n",
" | among other problems, it complicates the appearance of the code.\n",
" | Also, when using `itemset` (and `item`) inside a loop, be sure\n",
" | to assign the methods to a local variable to avoid the attribute\n",
" | look-up at each loop iteration.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.itemset(4, 0)\n",
" | >>> x.itemset((2, 2), 9)\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 0, 6],\n",
" | [1, 0, 9]])\n",
" | \n",
" | max(...)\n",
" | a.max(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the maximum along a given axis.\n",
" | \n",
" | Refer to `numpy.amax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amax : equivalent function\n",
" | \n",
" | mean(...)\n",
" | a.mean(axis=None, dtype=None, out=None, keepdims=False)\n",
" | \n",
" | Returns the average of the array elements along given axis.\n",
" | \n",
" | Refer to `numpy.mean` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.mean : equivalent function\n",
" | \n",
" | min(...)\n",
" | a.min(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the minimum along a given axis.\n",
" | \n",
" | Refer to `numpy.amin` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amin : equivalent function\n",
" | \n",
" | newbyteorder(...)\n",
" | arr.newbyteorder(new_order='S')\n",
" | \n",
" | Return the array with the same data viewed with a different byte order.\n",
" | \n",
" | Equivalent to::\n",
" | \n",
" | arr.view(arr.dtype.newbytorder(new_order))\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the array data\n",
" | type.\n",
" | \n",
" | \n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : string, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | below. `new_order` codes can be any of:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_arr : array\n",
" | New array object with the dtype reflecting given change to the\n",
" | byte order.\n",
" | \n",
" | nonzero(...)\n",
" | a.nonzero()\n",
" | \n",
" | Return the indices of the elements that are non-zero.\n",
" | \n",
" | Refer to `numpy.nonzero` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.nonzero : equivalent function\n",
" | \n",
" | partition(...)\n",
" | a.partition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Rearranges the elements in the array in such a way that the value of the\n",
" | element in kth position is in the position it would be in a sorted array.\n",
" | All elements smaller than the kth element are moved before this element and\n",
" | all equal or greater are moved behind it. The ordering of the elements in\n",
" | the two partitions is undefined.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | kth : int or sequence of ints\n",
" | Element index to partition by. The kth element value will be in its\n",
" | final sorted position and all smaller elements will be moved before it\n",
" | and all equal or greater elements behind it.\n",
" | The order of all elements in the partitions is undefined.\n",
" | If provided with a sequence of kth it will partition all elements\n",
" | indexed by kth of them into their sorted position at once.\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'introselect'}, optional\n",
" | Selection algorithm. Default is 'introselect'.\n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need to be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.partition : Return a parititioned copy of an array.\n",
" | argpartition : Indirect partition.\n",
" | sort : Full sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See ``np.partition`` for notes on the different algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([3, 4, 2, 1])\n",
" | >>> a.partition(3)\n",
" | >>> a\n",
" | array([2, 1, 3, 4])\n",
" | \n",
" | >>> a.partition((1, 3))\n",
" | >>> a\n",
" | array([1, 2, 3, 4])\n",
" | \n",
" | prod(...)\n",
" | a.prod(axis=None, dtype=None, out=None, keepdims=False, initial=1, where=True)\n",
" | \n",
" | Return the product of the array elements over the given axis\n",
" | \n",
" | Refer to `numpy.prod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.prod : equivalent function\n",
" | \n",
" | ptp(...)\n",
" | a.ptp(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Peak to peak (maximum - minimum) value along a given axis.\n",
" | \n",
" | Refer to `numpy.ptp` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ptp : equivalent function\n",
" | \n",
" | put(...)\n",
" | a.put(indices, values, mode='raise')\n",
" | \n",
" | Set ``a.flat[n] = values[n]`` for all `n` in indices.\n",
" | \n",
" | Refer to `numpy.put` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.put : equivalent function\n",
" | \n",
" | ravel(...)\n",
" | a.ravel([order])\n",
" | \n",
" | Return a flattened array.\n",
" | \n",
" | Refer to `numpy.ravel` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ravel : equivalent function\n",
" | \n",
" | ndarray.flat : a flat iterator on the array.\n",
" | \n",
" | repeat(...)\n",
" | a.repeat(repeats, axis=None)\n",
" | \n",
" | Repeat elements of an array.\n",
" | \n",
" | Refer to `numpy.repeat` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.repeat : equivalent function\n",
" | \n",
" | reshape(...)\n",
" | a.reshape(shape, order='C')\n",
" | \n",
" | Returns an array containing the same data with a new shape.\n",
" | \n",
" | Refer to `numpy.reshape` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : equivalent function\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Unlike the free function `numpy.reshape`, this method on `ndarray` allows\n",
" | the elements of the shape parameter to be passed in as separate arguments.\n",
" | For example, ``a.reshape(10, 11)`` is equivalent to\n",
" | ``a.reshape((10, 11))``.\n",
" | \n",
" | resize(...)\n",
" | a.resize(new_shape, refcheck=True)\n",
" | \n",
" | Change shape and size of array in-place.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_shape : tuple of ints, or `n` ints\n",
" | Shape of resized array.\n",
" | refcheck : bool, optional\n",
" | If False, reference count will not be checked. Default is True.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ValueError\n",
" | If `a` does not own its own data or references or views to it exist,\n",
" | and the data memory must be changed.\n",
" | PyPy only: will always raise if the data memory must be changed, since\n",
" | there is no reliable way to determine if references or views to it\n",
" | exist.\n",
" | \n",
" | SystemError\n",
" | If the `order` keyword argument is specified. This behaviour is a\n",
" | bug in NumPy.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | resize : Return a new array with the specified shape.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This reallocates space for the data area if necessary.\n",
" | \n",
" | Only contiguous arrays (data elements consecutive in memory) can be\n",
" | resized.\n",
" | \n",
" | The purpose of the reference count check is to make sure you\n",
" | do not use this array as a buffer for another Python object and then\n",
" | reallocate the memory. However, reference counts can increase in\n",
" | other ways so if you are sure that you have not shared the memory\n",
" | for this array with another Python object, then you may safely set\n",
" | `refcheck` to False.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Shrinking an array: array is flattened (in the order that the data are\n",
" | stored in memory), resized, and reshaped:\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='C')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [1]])\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='F')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [2]])\n",
" | \n",
" | Enlarging an array: as above, but missing entries are filled with zeros:\n",
" | \n",
" | >>> b = np.array([[0, 1], [2, 3]])\n",
" | >>> b.resize(2, 3) # new_shape parameter doesn't have to be a tuple\n",
" | >>> b\n",
" | array([[0, 1, 2],\n",
" | [3, 0, 0]])\n",
" | \n",
" | Referencing an array prevents resizing...\n",
" | \n",
" | >>> c = a\n",
" | >>> a.resize((1, 1))\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: cannot resize an array that references or is referenced ...\n",
" | \n",
" | Unless `refcheck` is False:\n",
" | \n",
" | >>> a.resize((1, 1), refcheck=False)\n",
" | >>> a\n",
" | array([[0]])\n",
" | >>> c\n",
" | array([[0]])\n",
" | \n",
" | round(...)\n",
" | a.round(decimals=0, out=None)\n",
" | \n",
" | Return `a` with each element rounded to the given number of decimals.\n",
" | \n",
" | Refer to `numpy.around` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.around : equivalent function\n",
" | \n",
" | searchsorted(...)\n",
" | a.searchsorted(v, side='left', sorter=None)\n",
" | \n",
" | Find indices where elements of v should be inserted in a to maintain order.\n",
" | \n",
" | For full documentation, see `numpy.searchsorted`\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.searchsorted : equivalent function\n",
" | \n",
" | setfield(...)\n",
" | a.setfield(val, dtype, offset=0)\n",
" | \n",
" | Put a value into a specified place in a field defined by a data-type.\n",
" | \n",
" | Place `val` into `a`'s field defined by `dtype` and beginning `offset`\n",
" | bytes into the field.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | val : object\n",
" | Value to be placed in field.\n",
" | dtype : dtype object\n",
" | Data-type of the field in which to place `val`.\n",
" | offset : int, optional\n",
" | The number of bytes into the field at which to place `val`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | See Also\n",
" | --------\n",
" | getfield\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.eye(3)\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | >>> x.setfield(3, np.int32)\n",
" | >>> x.getfield(np.int32)\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3],\n",
" | [3, 3, 3]], dtype=int32)\n",
" | >>> x\n",
" | array([[1.0e+000, 1.5e-323, 1.5e-323],\n",
" | [1.5e-323, 1.0e+000, 1.5e-323],\n",
" | [1.5e-323, 1.5e-323, 1.0e+000]])\n",
" | >>> x.setfield(np.eye(3), np.int32)\n",
" | >>> x\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | \n",
" | setflags(...)\n",
" | a.setflags(write=None, align=None, uic=None)\n",
" | \n",
" | Set array flags WRITEABLE, ALIGNED, (WRITEBACKIFCOPY and UPDATEIFCOPY),\n",
" | respectively.\n",
" | \n",
" | These Boolean-valued flags affect how numpy interprets the memory\n",
" | area used by `a` (see Notes below). The ALIGNED flag can only\n",
" | be set to True if the data is actually aligned according to the type.\n",
" | The WRITEBACKIFCOPY and (deprecated) UPDATEIFCOPY flags can never be set\n",
" | to True. The flag WRITEABLE can only be set to True if the array owns its\n",
" | own memory, or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface, or is a string. (The exception for string is made so that\n",
" | unpickling can be done without copying memory.)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | write : bool, optional\n",
" | Describes whether or not `a` can be written to.\n",
" | align : bool, optional\n",
" | Describes whether or not `a` is aligned properly for its type.\n",
" | uic : bool, optional\n",
" | Describes whether or not `a` is a copy of another \"base\" array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Array flags provide information about how the memory area used\n",
" | for the array is to be interpreted. There are 7 Boolean flags\n",
" | in use, only four of which can be changed by the user:\n",
" | WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED.\n",
" | \n",
" | WRITEABLE (W) the data area can be written to;\n",
" | \n",
" | ALIGNED (A) the data and strides are aligned appropriately for the hardware\n",
" | (as determined by the compiler);\n",
" | \n",
" | UPDATEIFCOPY (U) (deprecated), replaced by WRITEBACKIFCOPY;\n",
" | \n",
" | WRITEBACKIFCOPY (X) this array is a copy of some other array (referenced\n",
" | by .base). When the C-API function PyArray_ResolveWritebackIfCopy is\n",
" | called, the base array will be updated with the contents of this array.\n",
" | \n",
" | All flags can be accessed using the single (upper case) letter as well\n",
" | as the full name.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.array([[3, 1, 7],\n",
" | ... [2, 0, 0],\n",
" | ... [8, 5, 9]])\n",
" | >>> y\n",
" | array([[3, 1, 7],\n",
" | [2, 0, 0],\n",
" | [8, 5, 9]])\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : True\n",
" | ALIGNED : True\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(write=0, align=0)\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : False\n",
" | ALIGNED : False\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(uic=1)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: cannot set WRITEBACKIFCOPY flag to True\n",
" | \n",
" | sort(...)\n",
" | a.sort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Sort an array in-place. Refer to `numpy.sort` for full documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, optional\n",
" | Sorting algorithm. The default is 'quicksort'. Note that both 'stable'\n",
" | and 'mergesort' use timsort under the covers and, in general, the\n",
" | actual implementation will vary with datatype. The 'mergesort' option\n",
" | is retained for backwards compatibility.\n",
" | \n",
" | .. versionchanged:: 1.15.0.\n",
" | The 'stable' option was added.\n",
" | \n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.sort : Return a sorted copy of an array.\n",
" | numpy.argsort : Indirect sort.\n",
" | numpy.lexsort : Indirect stable sort on multiple keys.\n",
" | numpy.searchsorted : Find elements in sorted array.\n",
" | numpy.partition: Partial sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See `numpy.sort` for notes on the different sorting algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,4], [3,1]])\n",
" | >>> a.sort(axis=1)\n",
" | >>> a\n",
" | array([[1, 4],\n",
" | [1, 3]])\n",
" | >>> a.sort(axis=0)\n",
" | >>> a\n",
" | array([[1, 3],\n",
" | [1, 4]])\n",
" | \n",
" | Use the `order` keyword to specify a field to use when sorting a\n",
" | structured array:\n",
" | \n",
" | >>> a = np.array([('a', 2), ('c', 1)], dtype=[('x', 'S1'), ('y', int)])\n",
" | >>> a.sort(order='y')\n",
" | >>> a\n",
" | array([(b'c', 1), (b'a', 2)],\n",
" | dtype=[('x', 'S1'), ('y', '>> x = np.array([[0, 1], [2, 3]], dtype='>> x.tobytes()\n",
" | b'\\x00\\x00\\x01\\x00\\x02\\x00\\x03\\x00'\n",
" | >>> x.tobytes('C') == x.tobytes()\n",
" | True\n",
" | >>> x.tobytes('F')\n",
" | b'\\x00\\x00\\x02\\x00\\x01\\x00\\x03\\x00'\n",
" | \n",
" | tofile(...)\n",
" | a.tofile(fid, sep=\"\", format=\"%s\")\n",
" | \n",
" | Write array to a file as text or binary (default).\n",
" | \n",
" | Data is always written in 'C' order, independent of the order of `a`.\n",
" | The data produced by this method can be recovered using the function\n",
" | fromfile().\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | fid : file or str or Path\n",
" | An open file object, or a string containing a filename.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | sep : str\n",
" | Separator between array items for text output.\n",
" | If \"\" (empty), a binary file is written, equivalent to\n",
" | ``file.write(a.tobytes())``.\n",
" | format : str\n",
" | Format string for text file output.\n",
" | Each entry in the array is formatted to text by first converting\n",
" | it to the closest Python type, and then using \"format\" % item.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is a convenience function for quick storage of array data.\n",
" | Information on endianness and precision is lost, so this method is not a\n",
" | good choice for files intended to archive data or transport data between\n",
" | machines with different endianness. Some of these problems can be overcome\n",
" | by outputting the data as text files, at the expense of speed and file\n",
" | size.\n",
" | \n",
" | When fid is a file object, array contents are directly written to the\n",
" | file, bypassing the file object's ``write`` method. As a result, tofile\n",
" | cannot be used with files objects supporting compression (e.g., GzipFile)\n",
" | or file-like objects that do not support ``fileno()`` (e.g., BytesIO).\n",
" | \n",
" | tolist(...)\n",
" | a.tolist()\n",
" | \n",
" | Return the array as an ``a.ndim``-levels deep nested list of Python scalars.\n",
" | \n",
" | Return a copy of the array data as a (nested) Python list.\n",
" | Data items are converted to the nearest compatible builtin Python type, via\n",
" | the `~numpy.ndarray.item` function.\n",
" | \n",
" | If ``a.ndim`` is 0, then since the depth of the nested list is 0, it will\n",
" | not be a list at all, but a simple Python scalar.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | none\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : object, or list of object, or list of list of object, or ...\n",
" | The possibly nested list of array elements.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The array may be recreated via ``a = np.array(a.tolist())``, although this\n",
" | may sometimes lose precision.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | For a 1D array, ``a.tolist()`` is almost the same as ``list(a)``,\n",
" | except that ``tolist`` changes numpy scalars to Python scalars:\n",
" | \n",
" | >>> a = np.uint32([1, 2])\n",
" | >>> a_list = list(a)\n",
" | >>> a_list\n",
" | [1, 2]\n",
" | >>> type(a_list[0])\n",
" | \n",
" | >>> a_tolist = a.tolist()\n",
" | >>> a_tolist\n",
" | [1, 2]\n",
" | >>> type(a_tolist[0])\n",
" | \n",
" | \n",
" | Additionally, for a 2D array, ``tolist`` applies recursively:\n",
" | \n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> list(a)\n",
" | [array([1, 2]), array([3, 4])]\n",
" | >>> a.tolist()\n",
" | [[1, 2], [3, 4]]\n",
" | \n",
" | The base case for this recursion is a 0D array:\n",
" | \n",
" | >>> a = np.array(1)\n",
" | >>> list(a)\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | TypeError: iteration over a 0-d array\n",
" | >>> a.tolist()\n",
" | 1\n",
" | \n",
" | tostring(...)\n",
" | a.tostring(order='C')\n",
" | \n",
" | A compatibility alias for `tobytes`, with exactly the same behavior.\n",
" | \n",
" | Despite its name, it returns `bytes` not `str`\\ s.\n",
" | \n",
" | .. deprecated:: 1.19.0\n",
" | \n",
" | trace(...)\n",
" | a.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None)\n",
" | \n",
" | Return the sum along diagonals of the array.\n",
" | \n",
" | Refer to `numpy.trace` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.trace : equivalent function\n",
" | \n",
" | transpose(...)\n",
" | a.transpose(*axes)\n",
" | \n",
" | Returns a view of the array with axes transposed.\n",
" | \n",
" | For a 1-D array this has no effect, as a transposed vector is simply the\n",
" | same vector. To convert a 1-D array into a 2D column vector, an additional\n",
" | dimension must be added. `np.atleast2d(a).T` achieves this, as does\n",
" | `a[:, np.newaxis]`.\n",
" | For a 2-D array, this is a standard matrix transpose.\n",
" | For an n-D array, if axes are given, their order indicates how the\n",
" | axes are permuted (see Examples). If axes are not provided and\n",
" | ``a.shape = (i[0], i[1], ... i[n-2], i[n-1])``, then\n",
" | ``a.transpose().shape = (i[n-1], i[n-2], ... i[1], i[0])``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axes : None, tuple of ints, or `n` ints\n",
" | \n",
" | * None or no argument: reverses the order of the axes.\n",
" | \n",
" | * tuple of ints: `i` in the `j`-th place in the tuple means `a`'s\n",
" | `i`-th axis becomes `a.transpose()`'s `j`-th axis.\n",
" | \n",
" | * `n` ints: same as an n-tuple of the same ints (this form is\n",
" | intended simply as a \"convenience\" alternative to the tuple form)\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | View of `a`, with axes suitably permuted.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.T : Array property returning the array transposed.\n",
" | ndarray.reshape : Give a new shape to an array without changing its data.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> a\n",
" | array([[1, 2],\n",
" | [3, 4]])\n",
" | >>> a.transpose()\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose((1, 0))\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose(1, 0)\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | var(...)\n",
" | a.var(axis=None, dtype=None, out=None, ddof=0, keepdims=False)\n",
" | \n",
" | Returns the variance of the array elements, along given axis.\n",
" | \n",
" | Refer to `numpy.var` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.var : equivalent function\n",
" | \n",
" | view(...)\n",
" | a.view([dtype][, type])\n",
" | \n",
" | New view of array with the same data.\n",
" | \n",
" | .. note::\n",
" | Passing None for ``dtype`` is different from omitting the parameter,\n",
" | since the former invokes ``dtype(None)`` which is an alias for\n",
" | ``dtype('float_')``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : data-type or ndarray sub-class, optional\n",
" | Data-type descriptor of the returned view, e.g., float32 or int16.\n",
" | Omitting it results in the view having the same data-type as `a`.\n",
" | This argument can also be specified as an ndarray sub-class, which\n",
" | then specifies the type of the returned object (this is equivalent to\n",
" | setting the ``type`` parameter).\n",
" | type : Python type, optional\n",
" | Type of the returned view, e.g., ndarray or matrix. Again, omission\n",
" | of the parameter results in type preservation.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | ``a.view()`` is used two different ways:\n",
" | \n",
" | ``a.view(some_dtype)`` or ``a.view(dtype=some_dtype)`` constructs a view\n",
" | of the array's memory with a different data-type. This can cause a\n",
" | reinterpretation of the bytes of memory.\n",
" | \n",
" | ``a.view(ndarray_subclass)`` or ``a.view(type=ndarray_subclass)`` just\n",
" | returns an instance of `ndarray_subclass` that looks at the same array\n",
" | (same shape, dtype, etc.) This does not cause a reinterpretation of the\n",
" | memory.\n",
" | \n",
" | For ``a.view(some_dtype)``, if ``some_dtype`` has a different number of\n",
" | bytes per entry than the previous dtype (for example, converting a\n",
" | regular array to a structured array), then the behavior of the view\n",
" | cannot be predicted just from the superficial appearance of ``a`` (shown\n",
" | by ``print(a)``). It also depends on exactly how ``a`` is stored in\n",
" | memory. Therefore if ``a`` is C-ordered versus fortran-ordered, versus\n",
" | defined as a slice or transpose, etc., the view may give different\n",
" | results.\n",
" | \n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([(1, 2)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | \n",
" | Viewing array data using a different type and dtype:\n",
" | \n",
" | >>> y = x.view(dtype=np.int16, type=np.matrix)\n",
" | >>> y\n",
" | matrix([[513]], dtype=int16)\n",
" | >>> print(type(y))\n",
" | \n",
" | \n",
" | Creating a view on a structured array so it can be used in calculations\n",
" | \n",
" | >>> x = np.array([(1, 2),(3,4)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | >>> xv = x.view(dtype=np.int8).reshape(-1,2)\n",
" | >>> xv\n",
" | array([[1, 2],\n",
" | [3, 4]], dtype=int8)\n",
" | >>> xv.mean(0)\n",
" | array([2., 3.])\n",
" | \n",
" | Making changes to the view changes the underlying array\n",
" | \n",
" | >>> xv[0,1] = 20\n",
" | >>> x\n",
" | array([(1, 20), (3, 4)], dtype=[('a', 'i1'), ('b', 'i1')])\n",
" | \n",
" | Using a view to convert an array to a recarray:\n",
" | \n",
" | >>> z = x.view(np.recarray)\n",
" | >>> z.a\n",
" | array([1, 3], dtype=int8)\n",
" | \n",
" | Views share data:\n",
" | \n",
" | >>> x[0] = (9, 10)\n",
" | >>> z[0]\n",
" | (9, 10)\n",
" | \n",
" | Views that change the dtype size (bytes per entry) should normally be\n",
" | avoided on arrays defined by slices, transposes, fortran-ordering, etc.:\n",
" | \n",
" | >>> x = np.array([[1,2,3],[4,5,6]], dtype=np.int16)\n",
" | >>> y = x[:, 0:2]\n",
" | >>> y\n",
" | array([[1, 2],\n",
" | [4, 5]], dtype=int16)\n",
" | >>> y.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: To change to a dtype of a different size, the array must be C-contiguous\n",
" | >>> z = y.copy()\n",
" | >>> z.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | array([[(1, 2)],\n",
" | [(4, 5)]], dtype=[('width', '>> x = np.array([[1.,2.],[3.,4.]])\n",
" | >>> x\n",
" | array([[ 1., 2.],\n",
" | [ 3., 4.]])\n",
" | >>> x.T\n",
" | array([[ 1., 3.],\n",
" | [ 2., 4.]])\n",
" | >>> x = np.array([1.,2.,3.,4.])\n",
" | >>> x\n",
" | array([ 1., 2., 3., 4.])\n",
" | >>> x.T\n",
" | array([ 1., 2., 3., 4.])\n",
" | \n",
" | See Also\n",
" | --------\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: C-struct side.\n",
" | \n",
" | base\n",
" | Base object if memory is from some other object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | The base of an array that owns its memory is None:\n",
" | \n",
" | >>> x = np.array([1,2,3,4])\n",
" | >>> x.base is None\n",
" | True\n",
" | \n",
" | Slicing creates a view, whose memory is shared with x:\n",
" | \n",
" | >>> y = x[2:]\n",
" | >>> y.base is x\n",
" | True\n",
" | \n",
" | ctypes\n",
" | An object to simplify the interaction of the array with the ctypes\n",
" | module.\n",
" | \n",
" | This attribute creates an object that makes it easier to use arrays\n",
" | when calling shared libraries with the ctypes module. The returned\n",
" | object has, among others, data, shape, and strides attributes (see\n",
" | Notes below) which themselves return ctypes objects that can be used\n",
" | as arguments to a shared library.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | c : Python object\n",
" | Possessing attributes data, shape, strides, etc.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ctypeslib\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Below are the public attributes of this object which were documented\n",
" | in \"Guide to NumPy\" (we have omitted undocumented public attributes,\n",
" | as well as documented private attributes):\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.data\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.shape\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.strides\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.data_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.shape_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.strides_as\n",
" | :noindex:\n",
" | \n",
" | If the ctypes module is not available, then the ctypes attribute\n",
" | of array objects still returns something useful, but ctypes objects\n",
" | are not returned and errors may be raised instead. In particular,\n",
" | the object will still have the ``as_parameter`` attribute which will\n",
" | return an integer equal to the data attribute.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> import ctypes\n",
" | >>> x = np.array([[0, 1], [2, 3]], dtype=np.int32)\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]], dtype=int32)\n",
" | >>> x.ctypes.data\n",
" | 31962608 # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32))\n",
" | <__main__.LP_c_uint object at 0x7ff2fc1fc200> # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32)).contents\n",
" | c_uint(0)\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint64)).contents\n",
" | c_ulong(4294967296)\n",
" | >>> x.ctypes.shape\n",
" | # may vary\n",
" | >>> x.ctypes.strides\n",
" | # may vary\n",
" | \n",
" | data\n",
" | Python buffer object pointing to the start of the array's data.\n",
" | \n",
" | dtype\n",
" | Data-type of the array's elements.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | d : numpy dtype object\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dtype\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]])\n",
" | >>> x.dtype\n",
" | dtype('int32')\n",
" | >>> type(x.dtype)\n",
" | \n",
" | \n",
" | flags\n",
" | Information about the memory layout of the array.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | C_CONTIGUOUS (C)\n",
" | The data is in a single, C-style contiguous segment.\n",
" | F_CONTIGUOUS (F)\n",
" | The data is in a single, Fortran-style contiguous segment.\n",
" | OWNDATA (O)\n",
" | The array owns the memory it uses or borrows it from another object.\n",
" | WRITEABLE (W)\n",
" | The data area can be written to. Setting this to False locks\n",
" | the data, making it read-only. A view (slice, etc.) inherits WRITEABLE\n",
" | from its base array at creation time, but a view of a writeable\n",
" | array may be subsequently locked while the base array remains writeable.\n",
" | (The opposite is not true, in that a view of a locked array may not\n",
" | be made writeable. However, currently, locking a base object does not\n",
" | lock any views that already reference it, so under that circumstance it\n",
" | is possible to alter the contents of a locked array via a previously\n",
" | created writeable view onto it.) Attempting to change a non-writeable\n",
" | array raises a RuntimeError exception.\n",
" | ALIGNED (A)\n",
" | The data and all elements are aligned appropriately for the hardware.\n",
" | WRITEBACKIFCOPY (X)\n",
" | This array is a copy of some other array. The C-API function\n",
" | PyArray_ResolveWritebackIfCopy must be called before deallocating\n",
" | to the base array will be updated with the contents of this array.\n",
" | UPDATEIFCOPY (U)\n",
" | (Deprecated, use WRITEBACKIFCOPY) This array is a copy of some other array.\n",
" | When this array is\n",
" | deallocated, the base array will be updated with the contents of\n",
" | this array.\n",
" | FNC\n",
" | F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | FORC\n",
" | F_CONTIGUOUS or C_CONTIGUOUS (one-segment test).\n",
" | BEHAVED (B)\n",
" | ALIGNED and WRITEABLE.\n",
" | CARRAY (CA)\n",
" | BEHAVED and C_CONTIGUOUS.\n",
" | FARRAY (FA)\n",
" | BEHAVED and F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The `flags` object can be accessed dictionary-like (as in ``a.flags['WRITEABLE']``),\n",
" | or by using lowercased attribute names (as in ``a.flags.writeable``). Short flag\n",
" | names are only supported in dictionary access.\n",
" | \n",
" | Only the WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be\n",
" | changed by the user, via direct assignment to the attribute or dictionary\n",
" | entry, or by calling `ndarray.setflags`.\n",
" | \n",
" | The array flags cannot be set arbitrarily:\n",
" | \n",
" | - UPDATEIFCOPY can only be set ``False``.\n",
" | - WRITEBACKIFCOPY can only be set ``False``.\n",
" | - ALIGNED can only be set ``True`` if the data is truly aligned.\n",
" | - WRITEABLE can only be set ``True`` if the array owns its own memory\n",
" | or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface or is a string.\n",
" | \n",
" | Arrays can be both C-style and Fortran-style contiguous simultaneously.\n",
" | This is clear for 1-dimensional arrays, but can also be true for higher\n",
" | dimensional arrays.\n",
" | \n",
" | Even for contiguous arrays a stride for a given dimension\n",
" | ``arr.strides[dim]`` may be *arbitrary* if ``arr.shape[dim] == 1``\n",
" | or the array has no elements.\n",
" | It does *not* generally hold that ``self.strides[-1] == self.itemsize``\n",
" | for C-style contiguous arrays or ``self.strides[0] == self.itemsize`` for\n",
" | Fortran-style contiguous arrays is true.\n",
" | \n",
" | flat\n",
" | A 1-D iterator over the array.\n",
" | \n",
" | This is a `numpy.flatiter` instance, which acts similarly to, but is not\n",
" | a subclass of, Python's built-in iterator object.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | flatten : Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(1, 7).reshape(2, 3)\n",
" | >>> x\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | >>> x.flat[3]\n",
" | 4\n",
" | >>> x.T\n",
" | array([[1, 4],\n",
" | [2, 5],\n",
" | [3, 6]])\n",
" | >>> x.T.flat[3]\n",
" | 5\n",
" | >>> type(x.flat)\n",
" | \n",
" | \n",
" | An assignment example:\n",
" | \n",
" | >>> x.flat = 3; x\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3]])\n",
" | >>> x.flat[[1,4]] = 1; x\n",
" | array([[3, 1, 3],\n",
" | [3, 1, 3]])\n",
" | \n",
" | imag\n",
" | The imaginary part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.imag\n",
" | array([ 0. , 0.70710678])\n",
" | >>> x.imag.dtype\n",
" | dtype('float64')\n",
" | \n",
" | itemsize\n",
" | Length of one array element in bytes.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1,2,3], dtype=np.float64)\n",
" | >>> x.itemsize\n",
" | 8\n",
" | >>> x = np.array([1,2,3], dtype=np.complex128)\n",
" | >>> x.itemsize\n",
" | 16\n",
" | \n",
" | nbytes\n",
" | Total bytes consumed by the elements of the array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Does not include memory consumed by non-element attributes of the\n",
" | array object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3,5,2), dtype=np.complex128)\n",
" | >>> x.nbytes\n",
" | 480\n",
" | >>> np.prod(x.shape) * x.itemsize\n",
" | 480\n",
" | \n",
" | ndim\n",
" | Number of array dimensions.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> x.ndim\n",
" | 1\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.ndim\n",
" | 3\n",
" | \n",
" | real\n",
" | The real part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.real\n",
" | array([ 1. , 0.70710678])\n",
" | >>> x.real.dtype\n",
" | dtype('float64')\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.real : equivalent function\n",
" | \n",
" | shape\n",
" | Tuple of array dimensions.\n",
" | \n",
" | The shape property is usually used to get the current shape of an array,\n",
" | but may also be used to reshape the array in-place by assigning a tuple of\n",
" | array dimensions to it. As with `numpy.reshape`, one of the new shape\n",
" | dimensions can be -1, in which case its value is inferred from the size of\n",
" | the array and the remaining dimensions. Reshaping an array in-place will\n",
" | fail if a copy is required.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3, 4])\n",
" | >>> x.shape\n",
" | (4,)\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.shape\n",
" | (2, 3, 4)\n",
" | >>> y.shape = (3, 8)\n",
" | >>> y\n",
" | array([[ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.]])\n",
" | >>> y.shape = (3, 6)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: total size of new array must be unchanged\n",
" | >>> np.zeros((4,2))[::2].shape = (-1,)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | AttributeError: Incompatible shape for in-place modification. Use\n",
" | `.reshape()` to make a copy with the desired shape.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : similar function\n",
" | ndarray.reshape : similar method\n",
" | \n",
" | size\n",
" | Number of elements in the array.\n",
" | \n",
" | Equal to ``np.prod(a.shape)``, i.e., the product of the array's\n",
" | dimensions.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | `a.size` returns a standard arbitrary precision Python integer. This\n",
" | may not be the case with other methods of obtaining the same value\n",
" | (like the suggested ``np.prod(a.shape)``, which returns an instance\n",
" | of ``np.int_``), and may be relevant if the value is used further in\n",
" | calculations that may overflow a fixed size integer type.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3, 5, 2), dtype=np.complex128)\n",
" | >>> x.size\n",
" | 30\n",
" | >>> np.prod(x.shape)\n",
" | 30\n",
" | \n",
" | strides\n",
" | Tuple of bytes to step in each dimension when traversing an array.\n",
" | \n",
" | The byte offset of element ``(i[0], i[1], ..., i[n])`` in an array `a`\n",
" | is::\n",
" | \n",
" | offset = sum(np.array(i) * a.strides)\n",
" | \n",
" | A more detailed explanation of strides can be found in the\n",
" | \"ndarray.rst\" file in the NumPy reference guide.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Imagine an array of 32-bit integers (each 4 bytes)::\n",
" | \n",
" | x = np.array([[0, 1, 2, 3, 4],\n",
" | [5, 6, 7, 8, 9]], dtype=np.int32)\n",
" | \n",
" | This array is stored in memory as 40 bytes, one after the other\n",
" | (known as a contiguous block of memory). The strides of an array tell\n",
" | us how many bytes we have to skip in memory to move to the next position\n",
" | along a certain axis. For example, we have to skip 4 bytes (1 value) to\n",
" | move to the next column, but 20 bytes (5 values) to get to the same\n",
" | position in the next row. As such, the strides for the array `x` will be\n",
" | ``(20, 4)``.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.lib.stride_tricks.as_strided\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.reshape(np.arange(2*3*4), (2,3,4))\n",
" | >>> y\n",
" | array([[[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]],\n",
" | [[12, 13, 14, 15],\n",
" | [16, 17, 18, 19],\n",
" | [20, 21, 22, 23]]])\n",
" | >>> y.strides\n",
" | (48, 16, 4)\n",
" | >>> y[1,1,1]\n",
" | 17\n",
" | >>> offset=sum(y.strides * np.array((1,1,1)))\n",
" | >>> offset/y.itemsize\n",
" | 17\n",
" | \n",
" | >>> x = np.reshape(np.arange(5*6*7*8), (5,6,7,8)).transpose(2,3,1,0)\n",
" | >>> x.strides\n",
" | (32, 4, 224, 1344)\n",
" | >>> i = np.array([3,5,2,2])\n",
" | >>> offset = sum(i * x.strides)\n",
" | >>> x[3,5,2,2]\n",
" | 813\n",
" | >>> offset / x.itemsize\n",
" | 813\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from ndarray:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class ndarray(builtins.object)\n",
" | ndarray(shape, dtype=float, buffer=None, offset=0,\n",
" | strides=None, order=None)\n",
" | \n",
" | An array object represents a multidimensional, homogeneous array\n",
" | of fixed-size items. An associated data-type object describes the\n",
" | format of each element in the array (its byte-order, how many bytes it\n",
" | occupies in memory, whether it is an integer, a floating point number,\n",
" | or something else, etc.)\n",
" | \n",
" | Arrays should be constructed using `array`, `zeros` or `empty` (refer\n",
" | to the See Also section below). The parameters given here refer to\n",
" | a low-level method (`ndarray(...)`) for instantiating an array.\n",
" | \n",
" | For more information, refer to the `numpy` module and examine the\n",
" | methods and attributes of an array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | (for the __new__ method; see Notes below)\n",
" | \n",
" | shape : tuple of ints\n",
" | Shape of created array.\n",
" | dtype : data-type, optional\n",
" | Any object that can be interpreted as a numpy data type.\n",
" | buffer : object exposing buffer interface, optional\n",
" | Used to fill the array with data.\n",
" | offset : int, optional\n",
" | Offset of array data in buffer.\n",
" | strides : tuple of ints, optional\n",
" | Strides of data in memory.\n",
" | order : {'C', 'F'}, optional\n",
" | Row-major (C-style) or column-major (Fortran-style) order.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | T : ndarray\n",
" | Transpose of the array.\n",
" | data : buffer\n",
" | The array's elements, in memory.\n",
" | dtype : dtype object\n",
" | Describes the format of the elements in the array.\n",
" | flags : dict\n",
" | Dictionary containing information related to memory use, e.g.,\n",
" | 'C_CONTIGUOUS', 'OWNDATA', 'WRITEABLE', etc.\n",
" | flat : numpy.flatiter object\n",
" | Flattened version of the array as an iterator. The iterator\n",
" | allows assignments, e.g., ``x.flat = 3`` (See `ndarray.flat` for\n",
" | assignment examples; TODO).\n",
" | imag : ndarray\n",
" | Imaginary part of the array.\n",
" | real : ndarray\n",
" | Real part of the array.\n",
" | size : int\n",
" | Number of elements in the array.\n",
" | itemsize : int\n",
" | The memory use of each array element in bytes.\n",
" | nbytes : int\n",
" | The total number of bytes required to store the array data,\n",
" | i.e., ``itemsize * size``.\n",
" | ndim : int\n",
" | The array's number of dimensions.\n",
" | shape : tuple of ints\n",
" | Shape of the array.\n",
" | strides : tuple of ints\n",
" | The step-size required to move from one element to the next in\n",
" | memory. For example, a contiguous ``(3, 4)`` array of type\n",
" | ``int16`` in C-order has strides ``(8, 2)``. This implies that\n",
" | to move from element to element in memory requires jumps of 2 bytes.\n",
" | To move from row-to-row, one needs to jump 8 bytes at a time\n",
" | (``2 * 4``).\n",
" | ctypes : ctypes object\n",
" | Class containing properties of the array needed for interaction\n",
" | with ctypes.\n",
" | base : ndarray\n",
" | If the array is a view into another array, that array is its `base`\n",
" | (unless that array is also a view). The `base` array is where the\n",
" | array data is actually stored.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | array : Construct an array.\n",
" | zeros : Create an array, each element of which is zero.\n",
" | empty : Create an array, but leave its allocated memory unchanged (i.e.,\n",
" | it contains \"garbage\").\n",
" | dtype : Create a data-type.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | There are two modes of creating an array using ``__new__``:\n",
" | \n",
" | 1. If `buffer` is None, then only `shape`, `dtype`, and `order`\n",
" | are used.\n",
" | 2. If `buffer` is an object exposing the buffer interface, then\n",
" | all keywords are interpreted.\n",
" | \n",
" | No ``__init__`` method is needed because the array is fully initialized\n",
" | after the ``__new__`` method.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | These examples illustrate the low-level `ndarray` constructor. Refer\n",
" | to the `See Also` section above for easier ways of constructing an\n",
" | ndarray.\n",
" | \n",
" | First mode, `buffer` is None:\n",
" | \n",
" | >>> np.ndarray(shape=(2,2), dtype=float, order='F')\n",
" | array([[0.0e+000, 0.0e+000], # random\n",
" | [ nan, 2.5e-323]])\n",
" | \n",
" | Second mode:\n",
" | \n",
" | >>> np.ndarray((2,), buffer=np.array([1,2,3]),\n",
" | ... offset=np.int_().itemsize,\n",
" | ... dtype=int) # offset = 1*itemsize, i.e. skip first element\n",
" | array([2, 3])\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | a.__array__([dtype], /) -> reference if type unchanged, copy otherwise.\n",
" | \n",
" | Returns either a new reference to self if dtype is not given or a new array\n",
" | of provided data type if dtype is different from the current dtype of the\n",
" | array.\n",
" | \n",
" | __array_function__(...)\n",
" | \n",
" | __array_prepare__(...)\n",
" | a.__array_prepare__(obj) -> Object of same type as ndarray object obj.\n",
" | \n",
" | __array_ufunc__(...)\n",
" | \n",
" | __array_wrap__(...)\n",
" | a.__array_wrap__(obj) -> Object of same type as ndarray object a.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __copy__(...)\n",
" | a.__copy__()\n",
" | \n",
" | Used if :func:`copy.copy` is called on an array. Returns a copy of the array.\n",
" | \n",
" | Equivalent to ``a.copy(order='K')``.\n",
" | \n",
" | __deepcopy__(...)\n",
" | a.__deepcopy__(memo, /) -> Deep copy of array.\n",
" | \n",
" | Used if :func:`copy.deepcopy` is called on an array.\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | Default object formatter.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Return self+=value.\n",
" | \n",
" | __iand__(self, value, /)\n",
" | Return self&=value.\n",
" | \n",
" | __ifloordiv__(self, value, /)\n",
" | Return self//=value.\n",
" | \n",
" | __ilshift__(self, value, /)\n",
" | Return self<<=value.\n",
" | \n",
" | __imatmul__(self, value, /)\n",
" | Return self@=value.\n",
" | \n",
" | __imod__(self, value, /)\n",
" | Return self%=value.\n",
" | \n",
" | __imul__(self, value, /)\n",
" | Return self*=value.\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __ior__(self, value, /)\n",
" | Return self|=value.\n",
" | \n",
" | __ipow__(self, value, /)\n",
" | Return self**=value.\n",
" | \n",
" | __irshift__(self, value, /)\n",
" | Return self>>=value.\n",
" | \n",
" | __isub__(self, value, /)\n",
" | Return self-=value.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __itruediv__(self, value, /)\n",
" | Return self/=value.\n",
" | \n",
" | __ixor__(self, value, /)\n",
" | Return self^=value.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setitem__(self, key, value, /)\n",
" | Set self[key] to value.\n",
" | \n",
" | __setstate__(...)\n",
" | a.__setstate__(state, /)\n",
" | \n",
" | For unpickling.\n",
" | \n",
" | The `state` argument must be a sequence that contains the following\n",
" | elements:\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | version : int\n",
" | optional pickle version. If omitted defaults to 0.\n",
" | shape : tuple\n",
" | dtype : data-type\n",
" | isFortran : bool\n",
" | rawdata : string or list\n",
" | a binary string with the data (or a list if 'a' is an object array)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | a.all(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if all elements evaluate to True.\n",
" | \n",
" | Refer to `numpy.all` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.all : equivalent function\n",
" | \n",
" | any(...)\n",
" | a.any(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if any of the elements of `a` evaluate to True.\n",
" | \n",
" | Refer to `numpy.any` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.any : equivalent function\n",
" | \n",
" | argmax(...)\n",
" | a.argmax(axis=None, out=None)\n",
" | \n",
" | Return indices of the maximum values along the given axis.\n",
" | \n",
" | Refer to `numpy.argmax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmax : equivalent function\n",
" | \n",
" | argmin(...)\n",
" | a.argmin(axis=None, out=None)\n",
" | \n",
" | Return indices of the minimum values along the given axis of `a`.\n",
" | \n",
" | Refer to `numpy.argmin` for detailed documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmin : equivalent function\n",
" | \n",
" | argpartition(...)\n",
" | a.argpartition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Returns the indices that would partition this array.\n",
" | \n",
" | Refer to `numpy.argpartition` for full documentation.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argpartition : equivalent function\n",
" | \n",
" | argsort(...)\n",
" | a.argsort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Returns the indices that would sort this array.\n",
" | \n",
" | Refer to `numpy.argsort` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argsort : equivalent function\n",
" | \n",
" | astype(...)\n",
" | a.astype(dtype, order='K', casting='unsafe', subok=True, copy=True)\n",
" | \n",
" | Copy of the array, cast to a specified type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | Typecode or data-type to which the array is cast.\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout order of the result.\n",
" | 'C' means C order, 'F' means Fortran order, 'A'\n",
" | means 'F' order if all the arrays are Fortran contiguous,\n",
" | 'C' order otherwise, and 'K' means as close to the\n",
" | order the array elements appear in memory as possible.\n",
" | Default is 'K'.\n",
" | casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional\n",
" | Controls what kind of data casting may occur. Defaults to 'unsafe'\n",
" | for backwards compatibility.\n",
" | \n",
" | * 'no' means the data types should not be cast at all.\n",
" | * 'equiv' means only byte-order changes are allowed.\n",
" | * 'safe' means only casts which can preserve values are allowed.\n",
" | * 'same_kind' means only safe casts or casts within a kind,\n",
" | like float64 to float32, are allowed.\n",
" | * 'unsafe' means any data conversions may be done.\n",
" | subok : bool, optional\n",
" | If True, then sub-classes will be passed-through (default), otherwise\n",
" | the returned array will be forced to be a base-class array.\n",
" | copy : bool, optional\n",
" | By default, astype always returns a newly allocated array. If this\n",
" | is set to false, and the `dtype`, `order`, and `subok`\n",
" | requirements are satisfied, the input array is returned instead\n",
" | of a copy.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | arr_t : ndarray\n",
" | Unless `copy` is False and the other conditions for returning the input\n",
" | array are satisfied (see description for `copy` input parameter), `arr_t`\n",
" | is a new array of the same shape as the input array, with dtype, order\n",
" | given by `dtype`, `order`.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | .. versionchanged:: 1.17.0\n",
" | Casting between a simple data type and a structured one is possible only\n",
" | for \"unsafe\" casting. Casting to multiple fields is allowed, but\n",
" | casting from multiple fields is not.\n",
" | \n",
" | .. versionchanged:: 1.9.0\n",
" | Casting from numeric to string types in 'safe' casting mode requires\n",
" | that the string dtype length is long enough to store the max\n",
" | integer/float value converted.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ComplexWarning\n",
" | When casting from complex to float or int. To avoid this,\n",
" | one should use ``a.real.astype(t)``.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 2.5])\n",
" | >>> x\n",
" | array([1. , 2. , 2.5])\n",
" | \n",
" | >>> x.astype(int)\n",
" | array([1, 2, 2])\n",
" | \n",
" | byteswap(...)\n",
" | a.byteswap(inplace=False)\n",
" | \n",
" | Swap the bytes of the array elements\n",
" | \n",
" | Toggle between low-endian and big-endian data representation by\n",
" | returning a byteswapped array, optionally swapped in-place.\n",
" | Arrays of byte-strings are not swapped. The real and imaginary\n",
" | parts of a complex number are swapped individually.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | inplace : bool, optional\n",
" | If ``True``, swap bytes in-place, default is ``False``.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | The byteswapped array. If `inplace` is ``True``, this is\n",
" | a view to self.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> A = np.array([1, 256, 8755], dtype=np.int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x1', '0x100', '0x2233']\n",
" | >>> A.byteswap(inplace=True)\n",
" | array([ 256, 1, 13090], dtype=int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x100', '0x1', '0x3322']\n",
" | \n",
" | Arrays of byte-strings are not swapped\n",
" | \n",
" | >>> A = np.array([b'ceg', b'fac'])\n",
" | >>> A.byteswap()\n",
" | array([b'ceg', b'fac'], dtype='|S3')\n",
" | \n",
" | ``A.newbyteorder().byteswap()`` produces an array with the same values\n",
" | but different representation in memory\n",
" | \n",
" | >>> A = np.array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,\n",
" | 0, 0], dtype=uint8)\n",
" | >>> A.newbyteorder().byteswap(inplace=True)\n",
" | array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0,\n",
" | 0, 3], dtype=uint8)\n",
" | \n",
" | choose(...)\n",
" | a.choose(choices, out=None, mode='raise')\n",
" | \n",
" | Use an index array to construct a new array from a set of choices.\n",
" | \n",
" | Refer to `numpy.choose` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.choose : equivalent function\n",
" | \n",
" | clip(...)\n",
" | a.clip(min=None, max=None, out=None, **kwargs)\n",
" | \n",
" | Return an array whose values are limited to ``[min, max]``.\n",
" | One of max or min must be given.\n",
" | \n",
" | Refer to `numpy.clip` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.clip : equivalent function\n",
" | \n",
" | compress(...)\n",
" | a.compress(condition, axis=None, out=None)\n",
" | \n",
" | Return selected slices of this array along given axis.\n",
" | \n",
" | Refer to `numpy.compress` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.compress : equivalent function\n",
" | \n",
" | conj(...)\n",
" | a.conj()\n",
" | \n",
" | Complex-conjugate all elements.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | conjugate(...)\n",
" | a.conjugate()\n",
" | \n",
" | Return the complex conjugate, element-wise.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | copy(...)\n",
" | a.copy(order='C')\n",
" | \n",
" | Return a copy of the array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout of the copy. 'C' means C-order,\n",
" | 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,\n",
" | 'C' otherwise. 'K' means match the layout of `a` as closely\n",
" | as possible. (Note that this function and :func:`numpy.copy` are very\n",
" | similar, but have different default values for their order=\n",
" | arguments.)\n",
" | \n",
" | See also\n",
" | --------\n",
" | numpy.copy\n",
" | numpy.copyto\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([[1,2,3],[4,5,6]], order='F')\n",
" | \n",
" | >>> y = x.copy()\n",
" | \n",
" | >>> x.fill(0)\n",
" | \n",
" | >>> x\n",
" | array([[0, 0, 0],\n",
" | [0, 0, 0]])\n",
" | \n",
" | >>> y\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | \n",
" | >>> y.flags['C_CONTIGUOUS']\n",
" | True\n",
" | \n",
" | cumprod(...)\n",
" | a.cumprod(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative product of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumprod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumprod : equivalent function\n",
" | \n",
" | cumsum(...)\n",
" | a.cumsum(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative sum of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumsum` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumsum : equivalent function\n",
" | \n",
" | diagonal(...)\n",
" | a.diagonal(offset=0, axis1=0, axis2=1)\n",
" | \n",
" | Return specified diagonals. In NumPy 1.9 the returned array is a\n",
" | read-only view instead of a copy as in previous NumPy versions. In\n",
" | a future version the read-only restriction will be removed.\n",
" | \n",
" | Refer to :func:`numpy.diagonal` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.diagonal : equivalent function\n",
" | \n",
" | dot(...)\n",
" | a.dot(b, out=None)\n",
" | \n",
" | Dot product of two arrays.\n",
" | \n",
" | Refer to `numpy.dot` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dot : equivalent function\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.eye(2)\n",
" | >>> b = np.ones((2, 2)) * 2\n",
" | >>> a.dot(b)\n",
" | array([[2., 2.],\n",
" | [2., 2.]])\n",
" | \n",
" | This array method can be conveniently chained:\n",
" | \n",
" | >>> a.dot(b).dot(b)\n",
" | array([[8., 8.],\n",
" | [8., 8.]])\n",
" | \n",
" | dump(...)\n",
" | a.dump(file)\n",
" | \n",
" | Dump a pickle of the array to the specified file.\n",
" | The array can be read back with pickle.load or numpy.load.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | file : str or Path\n",
" | A string naming the dump file.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | dumps(...)\n",
" | a.dumps()\n",
" | \n",
" | Returns the pickle of the array as a string.\n",
" | pickle.loads or numpy.loads will convert the string back to an array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | fill(...)\n",
" | a.fill(value)\n",
" | \n",
" | Fill the array with a scalar value.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | value : scalar\n",
" | All elements of `a` will be assigned this value.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([1, 2])\n",
" | >>> a.fill(0)\n",
" | >>> a\n",
" | array([0, 0])\n",
" | >>> a = np.empty(2)\n",
" | >>> a.fill(1)\n",
" | >>> a\n",
" | array([1., 1.])\n",
" | \n",
" | flatten(...)\n",
" | a.flatten(order='C')\n",
" | \n",
" | Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | 'C' means to flatten in row-major (C-style) order.\n",
" | 'F' means to flatten in column-major (Fortran-\n",
" | style) order. 'A' means to flatten in column-major\n",
" | order if `a` is Fortran *contiguous* in memory,\n",
" | row-major order otherwise. 'K' means to flatten\n",
" | `a` in the order the elements occur in memory.\n",
" | The default is 'C'.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : ndarray\n",
" | A copy of the input array, flattened to one dimension.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ravel : Return a flattened array.\n",
" | flat : A 1-D flat iterator over the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,2], [3,4]])\n",
" | >>> a.flatten()\n",
" | array([1, 2, 3, 4])\n",
" | >>> a.flatten('F')\n",
" | array([1, 3, 2, 4])\n",
" | \n",
" | getfield(...)\n",
" | a.getfield(dtype, offset=0)\n",
" | \n",
" | Returns a field of the given array as a certain type.\n",
" | \n",
" | A field is a view of the array data with a given data-type. The values in\n",
" | the view are determined by the given type and the offset into the current\n",
" | array in bytes. The offset needs to be such that the view dtype fits in the\n",
" | array dtype; for example an array of dtype complex128 has 16-byte elements.\n",
" | If taking a view with a 32-bit integer (4 bytes), the offset needs to be\n",
" | between 0 and 12 bytes.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | The data type of the view. The dtype size of the view can not be larger\n",
" | than that of the array itself.\n",
" | offset : int\n",
" | Number of bytes to skip before beginning the element view.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.diag([1.+1.j]*2)\n",
" | >>> x[1, 1] = 2 + 4.j\n",
" | >>> x\n",
" | array([[1.+1.j, 0.+0.j],\n",
" | [0.+0.j, 2.+4.j]])\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0.],\n",
" | [0., 2.]])\n",
" | \n",
" | By choosing an offset of 8 bytes we can select the complex part of the\n",
" | array for our view:\n",
" | \n",
" | >>> x.getfield(np.float64, offset=8)\n",
" | array([[1., 0.],\n",
" | [0., 4.]])\n",
" | \n",
" | item(...)\n",
" | a.item(*args)\n",
" | \n",
" | Copy an element of an array to a standard Python scalar and return it.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments (variable number and type)\n",
" | \n",
" | * none: in this case, the method only works for arrays\n",
" | with one element (`a.size == 1`), which element is\n",
" | copied into a standard Python scalar object and returned.\n",
" | \n",
" | * int_type: this argument is interpreted as a flat index into\n",
" | the array, specifying which element to copy and return.\n",
" | \n",
" | * tuple of int_types: functions as does a single int_type argument,\n",
" | except that the argument is interpreted as an nd-index into the\n",
" | array.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | z : Standard Python scalar object\n",
" | A copy of the specified element of the array as a suitable\n",
" | Python scalar\n",
" | \n",
" | Notes\n",
" | -----\n",
" | When the data type of `a` is longdouble or clongdouble, item() returns\n",
" | a scalar array object because there is no available Python scalar that\n",
" | would not lose information. Void arrays return a buffer object for item(),\n",
" | unless fields are defined, in which case a tuple is returned.\n",
" | \n",
" | `item` is very similar to a[args], except, instead of an array scalar,\n",
" | a standard Python scalar is returned. This can be useful for speeding up\n",
" | access to elements of the array and doing arithmetic on elements of the\n",
" | array using Python's optimized math.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.item(3)\n",
" | 1\n",
" | >>> x.item(7)\n",
" | 0\n",
" | >>> x.item((0, 1))\n",
" | 2\n",
" | >>> x.item((2, 2))\n",
" | 1\n",
" | \n",
" | itemset(...)\n",
" | a.itemset(*args)\n",
" | \n",
" | Insert scalar into an array (scalar is cast to array's dtype, if possible)\n",
" | \n",
" | There must be at least 1 argument, and define the last argument\n",
" | as *item*. Then, ``a.itemset(*args)`` is equivalent to but faster\n",
" | than ``a[args] = item``. The item should be a scalar value and `args`\n",
" | must select a single item in the array `a`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments\n",
" | If one argument: a scalar, only used in case `a` is of size 1.\n",
" | If two arguments: the last argument is the value to be set\n",
" | and must be a scalar, the first argument specifies a single array\n",
" | element location. It is either an int or a tuple.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Compared to indexing syntax, `itemset` provides some speed increase\n",
" | for placing a scalar into a particular location in an `ndarray`,\n",
" | if you must do this. However, generally this is discouraged:\n",
" | among other problems, it complicates the appearance of the code.\n",
" | Also, when using `itemset` (and `item`) inside a loop, be sure\n",
" | to assign the methods to a local variable to avoid the attribute\n",
" | look-up at each loop iteration.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.itemset(4, 0)\n",
" | >>> x.itemset((2, 2), 9)\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 0, 6],\n",
" | [1, 0, 9]])\n",
" | \n",
" | max(...)\n",
" | a.max(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the maximum along a given axis.\n",
" | \n",
" | Refer to `numpy.amax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amax : equivalent function\n",
" | \n",
" | mean(...)\n",
" | a.mean(axis=None, dtype=None, out=None, keepdims=False)\n",
" | \n",
" | Returns the average of the array elements along given axis.\n",
" | \n",
" | Refer to `numpy.mean` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.mean : equivalent function\n",
" | \n",
" | min(...)\n",
" | a.min(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the minimum along a given axis.\n",
" | \n",
" | Refer to `numpy.amin` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amin : equivalent function\n",
" | \n",
" | newbyteorder(...)\n",
" | arr.newbyteorder(new_order='S')\n",
" | \n",
" | Return the array with the same data viewed with a different byte order.\n",
" | \n",
" | Equivalent to::\n",
" | \n",
" | arr.view(arr.dtype.newbytorder(new_order))\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the array data\n",
" | type.\n",
" | \n",
" | \n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : string, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | below. `new_order` codes can be any of:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_arr : array\n",
" | New array object with the dtype reflecting given change to the\n",
" | byte order.\n",
" | \n",
" | nonzero(...)\n",
" | a.nonzero()\n",
" | \n",
" | Return the indices of the elements that are non-zero.\n",
" | \n",
" | Refer to `numpy.nonzero` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.nonzero : equivalent function\n",
" | \n",
" | partition(...)\n",
" | a.partition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Rearranges the elements in the array in such a way that the value of the\n",
" | element in kth position is in the position it would be in a sorted array.\n",
" | All elements smaller than the kth element are moved before this element and\n",
" | all equal or greater are moved behind it. The ordering of the elements in\n",
" | the two partitions is undefined.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | kth : int or sequence of ints\n",
" | Element index to partition by. The kth element value will be in its\n",
" | final sorted position and all smaller elements will be moved before it\n",
" | and all equal or greater elements behind it.\n",
" | The order of all elements in the partitions is undefined.\n",
" | If provided with a sequence of kth it will partition all elements\n",
" | indexed by kth of them into their sorted position at once.\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'introselect'}, optional\n",
" | Selection algorithm. Default is 'introselect'.\n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need to be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.partition : Return a parititioned copy of an array.\n",
" | argpartition : Indirect partition.\n",
" | sort : Full sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See ``np.partition`` for notes on the different algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([3, 4, 2, 1])\n",
" | >>> a.partition(3)\n",
" | >>> a\n",
" | array([2, 1, 3, 4])\n",
" | \n",
" | >>> a.partition((1, 3))\n",
" | >>> a\n",
" | array([1, 2, 3, 4])\n",
" | \n",
" | prod(...)\n",
" | a.prod(axis=None, dtype=None, out=None, keepdims=False, initial=1, where=True)\n",
" | \n",
" | Return the product of the array elements over the given axis\n",
" | \n",
" | Refer to `numpy.prod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.prod : equivalent function\n",
" | \n",
" | ptp(...)\n",
" | a.ptp(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Peak to peak (maximum - minimum) value along a given axis.\n",
" | \n",
" | Refer to `numpy.ptp` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ptp : equivalent function\n",
" | \n",
" | put(...)\n",
" | a.put(indices, values, mode='raise')\n",
" | \n",
" | Set ``a.flat[n] = values[n]`` for all `n` in indices.\n",
" | \n",
" | Refer to `numpy.put` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.put : equivalent function\n",
" | \n",
" | ravel(...)\n",
" | a.ravel([order])\n",
" | \n",
" | Return a flattened array.\n",
" | \n",
" | Refer to `numpy.ravel` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ravel : equivalent function\n",
" | \n",
" | ndarray.flat : a flat iterator on the array.\n",
" | \n",
" | repeat(...)\n",
" | a.repeat(repeats, axis=None)\n",
" | \n",
" | Repeat elements of an array.\n",
" | \n",
" | Refer to `numpy.repeat` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.repeat : equivalent function\n",
" | \n",
" | reshape(...)\n",
" | a.reshape(shape, order='C')\n",
" | \n",
" | Returns an array containing the same data with a new shape.\n",
" | \n",
" | Refer to `numpy.reshape` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : equivalent function\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Unlike the free function `numpy.reshape`, this method on `ndarray` allows\n",
" | the elements of the shape parameter to be passed in as separate arguments.\n",
" | For example, ``a.reshape(10, 11)`` is equivalent to\n",
" | ``a.reshape((10, 11))``.\n",
" | \n",
" | resize(...)\n",
" | a.resize(new_shape, refcheck=True)\n",
" | \n",
" | Change shape and size of array in-place.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_shape : tuple of ints, or `n` ints\n",
" | Shape of resized array.\n",
" | refcheck : bool, optional\n",
" | If False, reference count will not be checked. Default is True.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ValueError\n",
" | If `a` does not own its own data or references or views to it exist,\n",
" | and the data memory must be changed.\n",
" | PyPy only: will always raise if the data memory must be changed, since\n",
" | there is no reliable way to determine if references or views to it\n",
" | exist.\n",
" | \n",
" | SystemError\n",
" | If the `order` keyword argument is specified. This behaviour is a\n",
" | bug in NumPy.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | resize : Return a new array with the specified shape.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This reallocates space for the data area if necessary.\n",
" | \n",
" | Only contiguous arrays (data elements consecutive in memory) can be\n",
" | resized.\n",
" | \n",
" | The purpose of the reference count check is to make sure you\n",
" | do not use this array as a buffer for another Python object and then\n",
" | reallocate the memory. However, reference counts can increase in\n",
" | other ways so if you are sure that you have not shared the memory\n",
" | for this array with another Python object, then you may safely set\n",
" | `refcheck` to False.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Shrinking an array: array is flattened (in the order that the data are\n",
" | stored in memory), resized, and reshaped:\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='C')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [1]])\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='F')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [2]])\n",
" | \n",
" | Enlarging an array: as above, but missing entries are filled with zeros:\n",
" | \n",
" | >>> b = np.array([[0, 1], [2, 3]])\n",
" | >>> b.resize(2, 3) # new_shape parameter doesn't have to be a tuple\n",
" | >>> b\n",
" | array([[0, 1, 2],\n",
" | [3, 0, 0]])\n",
" | \n",
" | Referencing an array prevents resizing...\n",
" | \n",
" | >>> c = a\n",
" | >>> a.resize((1, 1))\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: cannot resize an array that references or is referenced ...\n",
" | \n",
" | Unless `refcheck` is False:\n",
" | \n",
" | >>> a.resize((1, 1), refcheck=False)\n",
" | >>> a\n",
" | array([[0]])\n",
" | >>> c\n",
" | array([[0]])\n",
" | \n",
" | round(...)\n",
" | a.round(decimals=0, out=None)\n",
" | \n",
" | Return `a` with each element rounded to the given number of decimals.\n",
" | \n",
" | Refer to `numpy.around` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.around : equivalent function\n",
" | \n",
" | searchsorted(...)\n",
" | a.searchsorted(v, side='left', sorter=None)\n",
" | \n",
" | Find indices where elements of v should be inserted in a to maintain order.\n",
" | \n",
" | For full documentation, see `numpy.searchsorted`\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.searchsorted : equivalent function\n",
" | \n",
" | setfield(...)\n",
" | a.setfield(val, dtype, offset=0)\n",
" | \n",
" | Put a value into a specified place in a field defined by a data-type.\n",
" | \n",
" | Place `val` into `a`'s field defined by `dtype` and beginning `offset`\n",
" | bytes into the field.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | val : object\n",
" | Value to be placed in field.\n",
" | dtype : dtype object\n",
" | Data-type of the field in which to place `val`.\n",
" | offset : int, optional\n",
" | The number of bytes into the field at which to place `val`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | See Also\n",
" | --------\n",
" | getfield\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.eye(3)\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | >>> x.setfield(3, np.int32)\n",
" | >>> x.getfield(np.int32)\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3],\n",
" | [3, 3, 3]], dtype=int32)\n",
" | >>> x\n",
" | array([[1.0e+000, 1.5e-323, 1.5e-323],\n",
" | [1.5e-323, 1.0e+000, 1.5e-323],\n",
" | [1.5e-323, 1.5e-323, 1.0e+000]])\n",
" | >>> x.setfield(np.eye(3), np.int32)\n",
" | >>> x\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | \n",
" | setflags(...)\n",
" | a.setflags(write=None, align=None, uic=None)\n",
" | \n",
" | Set array flags WRITEABLE, ALIGNED, (WRITEBACKIFCOPY and UPDATEIFCOPY),\n",
" | respectively.\n",
" | \n",
" | These Boolean-valued flags affect how numpy interprets the memory\n",
" | area used by `a` (see Notes below). The ALIGNED flag can only\n",
" | be set to True if the data is actually aligned according to the type.\n",
" | The WRITEBACKIFCOPY and (deprecated) UPDATEIFCOPY flags can never be set\n",
" | to True. The flag WRITEABLE can only be set to True if the array owns its\n",
" | own memory, or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface, or is a string. (The exception for string is made so that\n",
" | unpickling can be done without copying memory.)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | write : bool, optional\n",
" | Describes whether or not `a` can be written to.\n",
" | align : bool, optional\n",
" | Describes whether or not `a` is aligned properly for its type.\n",
" | uic : bool, optional\n",
" | Describes whether or not `a` is a copy of another \"base\" array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Array flags provide information about how the memory area used\n",
" | for the array is to be interpreted. There are 7 Boolean flags\n",
" | in use, only four of which can be changed by the user:\n",
" | WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED.\n",
" | \n",
" | WRITEABLE (W) the data area can be written to;\n",
" | \n",
" | ALIGNED (A) the data and strides are aligned appropriately for the hardware\n",
" | (as determined by the compiler);\n",
" | \n",
" | UPDATEIFCOPY (U) (deprecated), replaced by WRITEBACKIFCOPY;\n",
" | \n",
" | WRITEBACKIFCOPY (X) this array is a copy of some other array (referenced\n",
" | by .base). When the C-API function PyArray_ResolveWritebackIfCopy is\n",
" | called, the base array will be updated with the contents of this array.\n",
" | \n",
" | All flags can be accessed using the single (upper case) letter as well\n",
" | as the full name.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.array([[3, 1, 7],\n",
" | ... [2, 0, 0],\n",
" | ... [8, 5, 9]])\n",
" | >>> y\n",
" | array([[3, 1, 7],\n",
" | [2, 0, 0],\n",
" | [8, 5, 9]])\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : True\n",
" | ALIGNED : True\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(write=0, align=0)\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : False\n",
" | ALIGNED : False\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(uic=1)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: cannot set WRITEBACKIFCOPY flag to True\n",
" | \n",
" | sort(...)\n",
" | a.sort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Sort an array in-place. Refer to `numpy.sort` for full documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, optional\n",
" | Sorting algorithm. The default is 'quicksort'. Note that both 'stable'\n",
" | and 'mergesort' use timsort under the covers and, in general, the\n",
" | actual implementation will vary with datatype. The 'mergesort' option\n",
" | is retained for backwards compatibility.\n",
" | \n",
" | .. versionchanged:: 1.15.0.\n",
" | The 'stable' option was added.\n",
" | \n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.sort : Return a sorted copy of an array.\n",
" | numpy.argsort : Indirect sort.\n",
" | numpy.lexsort : Indirect stable sort on multiple keys.\n",
" | numpy.searchsorted : Find elements in sorted array.\n",
" | numpy.partition: Partial sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See `numpy.sort` for notes on the different sorting algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,4], [3,1]])\n",
" | >>> a.sort(axis=1)\n",
" | >>> a\n",
" | array([[1, 4],\n",
" | [1, 3]])\n",
" | >>> a.sort(axis=0)\n",
" | >>> a\n",
" | array([[1, 3],\n",
" | [1, 4]])\n",
" | \n",
" | Use the `order` keyword to specify a field to use when sorting a\n",
" | structured array:\n",
" | \n",
" | >>> a = np.array([('a', 2), ('c', 1)], dtype=[('x', 'S1'), ('y', int)])\n",
" | >>> a.sort(order='y')\n",
" | >>> a\n",
" | array([(b'c', 1), (b'a', 2)],\n",
" | dtype=[('x', 'S1'), ('y', '>> x = np.array([[0, 1], [2, 3]], dtype='>> x.tobytes()\n",
" | b'\\x00\\x00\\x01\\x00\\x02\\x00\\x03\\x00'\n",
" | >>> x.tobytes('C') == x.tobytes()\n",
" | True\n",
" | >>> x.tobytes('F')\n",
" | b'\\x00\\x00\\x02\\x00\\x01\\x00\\x03\\x00'\n",
" | \n",
" | tofile(...)\n",
" | a.tofile(fid, sep=\"\", format=\"%s\")\n",
" | \n",
" | Write array to a file as text or binary (default).\n",
" | \n",
" | Data is always written in 'C' order, independent of the order of `a`.\n",
" | The data produced by this method can be recovered using the function\n",
" | fromfile().\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | fid : file or str or Path\n",
" | An open file object, or a string containing a filename.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | sep : str\n",
" | Separator between array items for text output.\n",
" | If \"\" (empty), a binary file is written, equivalent to\n",
" | ``file.write(a.tobytes())``.\n",
" | format : str\n",
" | Format string for text file output.\n",
" | Each entry in the array is formatted to text by first converting\n",
" | it to the closest Python type, and then using \"format\" % item.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is a convenience function for quick storage of array data.\n",
" | Information on endianness and precision is lost, so this method is not a\n",
" | good choice for files intended to archive data or transport data between\n",
" | machines with different endianness. Some of these problems can be overcome\n",
" | by outputting the data as text files, at the expense of speed and file\n",
" | size.\n",
" | \n",
" | When fid is a file object, array contents are directly written to the\n",
" | file, bypassing the file object's ``write`` method. As a result, tofile\n",
" | cannot be used with files objects supporting compression (e.g., GzipFile)\n",
" | or file-like objects that do not support ``fileno()`` (e.g., BytesIO).\n",
" | \n",
" | tolist(...)\n",
" | a.tolist()\n",
" | \n",
" | Return the array as an ``a.ndim``-levels deep nested list of Python scalars.\n",
" | \n",
" | Return a copy of the array data as a (nested) Python list.\n",
" | Data items are converted to the nearest compatible builtin Python type, via\n",
" | the `~numpy.ndarray.item` function.\n",
" | \n",
" | If ``a.ndim`` is 0, then since the depth of the nested list is 0, it will\n",
" | not be a list at all, but a simple Python scalar.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | none\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : object, or list of object, or list of list of object, or ...\n",
" | The possibly nested list of array elements.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The array may be recreated via ``a = np.array(a.tolist())``, although this\n",
" | may sometimes lose precision.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | For a 1D array, ``a.tolist()`` is almost the same as ``list(a)``,\n",
" | except that ``tolist`` changes numpy scalars to Python scalars:\n",
" | \n",
" | >>> a = np.uint32([1, 2])\n",
" | >>> a_list = list(a)\n",
" | >>> a_list\n",
" | [1, 2]\n",
" | >>> type(a_list[0])\n",
" | \n",
" | >>> a_tolist = a.tolist()\n",
" | >>> a_tolist\n",
" | [1, 2]\n",
" | >>> type(a_tolist[0])\n",
" | \n",
" | \n",
" | Additionally, for a 2D array, ``tolist`` applies recursively:\n",
" | \n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> list(a)\n",
" | [array([1, 2]), array([3, 4])]\n",
" | >>> a.tolist()\n",
" | [[1, 2], [3, 4]]\n",
" | \n",
" | The base case for this recursion is a 0D array:\n",
" | \n",
" | >>> a = np.array(1)\n",
" | >>> list(a)\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | TypeError: iteration over a 0-d array\n",
" | >>> a.tolist()\n",
" | 1\n",
" | \n",
" | tostring(...)\n",
" | a.tostring(order='C')\n",
" | \n",
" | A compatibility alias for `tobytes`, with exactly the same behavior.\n",
" | \n",
" | Despite its name, it returns `bytes` not `str`\\ s.\n",
" | \n",
" | .. deprecated:: 1.19.0\n",
" | \n",
" | trace(...)\n",
" | a.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None)\n",
" | \n",
" | Return the sum along diagonals of the array.\n",
" | \n",
" | Refer to `numpy.trace` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.trace : equivalent function\n",
" | \n",
" | transpose(...)\n",
" | a.transpose(*axes)\n",
" | \n",
" | Returns a view of the array with axes transposed.\n",
" | \n",
" | For a 1-D array this has no effect, as a transposed vector is simply the\n",
" | same vector. To convert a 1-D array into a 2D column vector, an additional\n",
" | dimension must be added. `np.atleast2d(a).T` achieves this, as does\n",
" | `a[:, np.newaxis]`.\n",
" | For a 2-D array, this is a standard matrix transpose.\n",
" | For an n-D array, if axes are given, their order indicates how the\n",
" | axes are permuted (see Examples). If axes are not provided and\n",
" | ``a.shape = (i[0], i[1], ... i[n-2], i[n-1])``, then\n",
" | ``a.transpose().shape = (i[n-1], i[n-2], ... i[1], i[0])``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axes : None, tuple of ints, or `n` ints\n",
" | \n",
" | * None or no argument: reverses the order of the axes.\n",
" | \n",
" | * tuple of ints: `i` in the `j`-th place in the tuple means `a`'s\n",
" | `i`-th axis becomes `a.transpose()`'s `j`-th axis.\n",
" | \n",
" | * `n` ints: same as an n-tuple of the same ints (this form is\n",
" | intended simply as a \"convenience\" alternative to the tuple form)\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | View of `a`, with axes suitably permuted.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.T : Array property returning the array transposed.\n",
" | ndarray.reshape : Give a new shape to an array without changing its data.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> a\n",
" | array([[1, 2],\n",
" | [3, 4]])\n",
" | >>> a.transpose()\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose((1, 0))\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose(1, 0)\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | var(...)\n",
" | a.var(axis=None, dtype=None, out=None, ddof=0, keepdims=False)\n",
" | \n",
" | Returns the variance of the array elements, along given axis.\n",
" | \n",
" | Refer to `numpy.var` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.var : equivalent function\n",
" | \n",
" | view(...)\n",
" | a.view([dtype][, type])\n",
" | \n",
" | New view of array with the same data.\n",
" | \n",
" | .. note::\n",
" | Passing None for ``dtype`` is different from omitting the parameter,\n",
" | since the former invokes ``dtype(None)`` which is an alias for\n",
" | ``dtype('float_')``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : data-type or ndarray sub-class, optional\n",
" | Data-type descriptor of the returned view, e.g., float32 or int16.\n",
" | Omitting it results in the view having the same data-type as `a`.\n",
" | This argument can also be specified as an ndarray sub-class, which\n",
" | then specifies the type of the returned object (this is equivalent to\n",
" | setting the ``type`` parameter).\n",
" | type : Python type, optional\n",
" | Type of the returned view, e.g., ndarray or matrix. Again, omission\n",
" | of the parameter results in type preservation.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | ``a.view()`` is used two different ways:\n",
" | \n",
" | ``a.view(some_dtype)`` or ``a.view(dtype=some_dtype)`` constructs a view\n",
" | of the array's memory with a different data-type. This can cause a\n",
" | reinterpretation of the bytes of memory.\n",
" | \n",
" | ``a.view(ndarray_subclass)`` or ``a.view(type=ndarray_subclass)`` just\n",
" | returns an instance of `ndarray_subclass` that looks at the same array\n",
" | (same shape, dtype, etc.) This does not cause a reinterpretation of the\n",
" | memory.\n",
" | \n",
" | For ``a.view(some_dtype)``, if ``some_dtype`` has a different number of\n",
" | bytes per entry than the previous dtype (for example, converting a\n",
" | regular array to a structured array), then the behavior of the view\n",
" | cannot be predicted just from the superficial appearance of ``a`` (shown\n",
" | by ``print(a)``). It also depends on exactly how ``a`` is stored in\n",
" | memory. Therefore if ``a`` is C-ordered versus fortran-ordered, versus\n",
" | defined as a slice or transpose, etc., the view may give different\n",
" | results.\n",
" | \n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([(1, 2)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | \n",
" | Viewing array data using a different type and dtype:\n",
" | \n",
" | >>> y = x.view(dtype=np.int16, type=np.matrix)\n",
" | >>> y\n",
" | matrix([[513]], dtype=int16)\n",
" | >>> print(type(y))\n",
" | \n",
" | \n",
" | Creating a view on a structured array so it can be used in calculations\n",
" | \n",
" | >>> x = np.array([(1, 2),(3,4)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | >>> xv = x.view(dtype=np.int8).reshape(-1,2)\n",
" | >>> xv\n",
" | array([[1, 2],\n",
" | [3, 4]], dtype=int8)\n",
" | >>> xv.mean(0)\n",
" | array([2., 3.])\n",
" | \n",
" | Making changes to the view changes the underlying array\n",
" | \n",
" | >>> xv[0,1] = 20\n",
" | >>> x\n",
" | array([(1, 20), (3, 4)], dtype=[('a', 'i1'), ('b', 'i1')])\n",
" | \n",
" | Using a view to convert an array to a recarray:\n",
" | \n",
" | >>> z = x.view(np.recarray)\n",
" | >>> z.a\n",
" | array([1, 3], dtype=int8)\n",
" | \n",
" | Views share data:\n",
" | \n",
" | >>> x[0] = (9, 10)\n",
" | >>> z[0]\n",
" | (9, 10)\n",
" | \n",
" | Views that change the dtype size (bytes per entry) should normally be\n",
" | avoided on arrays defined by slices, transposes, fortran-ordering, etc.:\n",
" | \n",
" | >>> x = np.array([[1,2,3],[4,5,6]], dtype=np.int16)\n",
" | >>> y = x[:, 0:2]\n",
" | >>> y\n",
" | array([[1, 2],\n",
" | [4, 5]], dtype=int16)\n",
" | >>> y.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: To change to a dtype of a different size, the array must be C-contiguous\n",
" | >>> z = y.copy()\n",
" | >>> z.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | array([[(1, 2)],\n",
" | [(4, 5)]], dtype=[('width', '>> x = np.array([[1.,2.],[3.,4.]])\n",
" | >>> x\n",
" | array([[ 1., 2.],\n",
" | [ 3., 4.]])\n",
" | >>> x.T\n",
" | array([[ 1., 3.],\n",
" | [ 2., 4.]])\n",
" | >>> x = np.array([1.,2.,3.,4.])\n",
" | >>> x\n",
" | array([ 1., 2., 3., 4.])\n",
" | >>> x.T\n",
" | array([ 1., 2., 3., 4.])\n",
" | \n",
" | See Also\n",
" | --------\n",
" | transpose\n",
" | \n",
" | __array_finalize__\n",
" | None.\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side.\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: C-struct side.\n",
" | \n",
" | base\n",
" | Base object if memory is from some other object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | The base of an array that owns its memory is None:\n",
" | \n",
" | >>> x = np.array([1,2,3,4])\n",
" | >>> x.base is None\n",
" | True\n",
" | \n",
" | Slicing creates a view, whose memory is shared with x:\n",
" | \n",
" | >>> y = x[2:]\n",
" | >>> y.base is x\n",
" | True\n",
" | \n",
" | ctypes\n",
" | An object to simplify the interaction of the array with the ctypes\n",
" | module.\n",
" | \n",
" | This attribute creates an object that makes it easier to use arrays\n",
" | when calling shared libraries with the ctypes module. The returned\n",
" | object has, among others, data, shape, and strides attributes (see\n",
" | Notes below) which themselves return ctypes objects that can be used\n",
" | as arguments to a shared library.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | c : Python object\n",
" | Possessing attributes data, shape, strides, etc.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ctypeslib\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Below are the public attributes of this object which were documented\n",
" | in \"Guide to NumPy\" (we have omitted undocumented public attributes,\n",
" | as well as documented private attributes):\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.data\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.shape\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.strides\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.data_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.shape_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.strides_as\n",
" | :noindex:\n",
" | \n",
" | If the ctypes module is not available, then the ctypes attribute\n",
" | of array objects still returns something useful, but ctypes objects\n",
" | are not returned and errors may be raised instead. In particular,\n",
" | the object will still have the ``as_parameter`` attribute which will\n",
" | return an integer equal to the data attribute.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> import ctypes\n",
" | >>> x = np.array([[0, 1], [2, 3]], dtype=np.int32)\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]], dtype=int32)\n",
" | >>> x.ctypes.data\n",
" | 31962608 # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32))\n",
" | <__main__.LP_c_uint object at 0x7ff2fc1fc200> # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32)).contents\n",
" | c_uint(0)\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint64)).contents\n",
" | c_ulong(4294967296)\n",
" | >>> x.ctypes.shape\n",
" | # may vary\n",
" | >>> x.ctypes.strides\n",
" | # may vary\n",
" | \n",
" | data\n",
" | Python buffer object pointing to the start of the array's data.\n",
" | \n",
" | dtype\n",
" | Data-type of the array's elements.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | d : numpy dtype object\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dtype\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]])\n",
" | >>> x.dtype\n",
" | dtype('int32')\n",
" | >>> type(x.dtype)\n",
" | \n",
" | \n",
" | flags\n",
" | Information about the memory layout of the array.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | C_CONTIGUOUS (C)\n",
" | The data is in a single, C-style contiguous segment.\n",
" | F_CONTIGUOUS (F)\n",
" | The data is in a single, Fortran-style contiguous segment.\n",
" | OWNDATA (O)\n",
" | The array owns the memory it uses or borrows it from another object.\n",
" | WRITEABLE (W)\n",
" | The data area can be written to. Setting this to False locks\n",
" | the data, making it read-only. A view (slice, etc.) inherits WRITEABLE\n",
" | from its base array at creation time, but a view of a writeable\n",
" | array may be subsequently locked while the base array remains writeable.\n",
" | (The opposite is not true, in that a view of a locked array may not\n",
" | be made writeable. However, currently, locking a base object does not\n",
" | lock any views that already reference it, so under that circumstance it\n",
" | is possible to alter the contents of a locked array via a previously\n",
" | created writeable view onto it.) Attempting to change a non-writeable\n",
" | array raises a RuntimeError exception.\n",
" | ALIGNED (A)\n",
" | The data and all elements are aligned appropriately for the hardware.\n",
" | WRITEBACKIFCOPY (X)\n",
" | This array is a copy of some other array. The C-API function\n",
" | PyArray_ResolveWritebackIfCopy must be called before deallocating\n",
" | to the base array will be updated with the contents of this array.\n",
" | UPDATEIFCOPY (U)\n",
" | (Deprecated, use WRITEBACKIFCOPY) This array is a copy of some other array.\n",
" | When this array is\n",
" | deallocated, the base array will be updated with the contents of\n",
" | this array.\n",
" | FNC\n",
" | F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | FORC\n",
" | F_CONTIGUOUS or C_CONTIGUOUS (one-segment test).\n",
" | BEHAVED (B)\n",
" | ALIGNED and WRITEABLE.\n",
" | CARRAY (CA)\n",
" | BEHAVED and C_CONTIGUOUS.\n",
" | FARRAY (FA)\n",
" | BEHAVED and F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The `flags` object can be accessed dictionary-like (as in ``a.flags['WRITEABLE']``),\n",
" | or by using lowercased attribute names (as in ``a.flags.writeable``). Short flag\n",
" | names are only supported in dictionary access.\n",
" | \n",
" | Only the WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be\n",
" | changed by the user, via direct assignment to the attribute or dictionary\n",
" | entry, or by calling `ndarray.setflags`.\n",
" | \n",
" | The array flags cannot be set arbitrarily:\n",
" | \n",
" | - UPDATEIFCOPY can only be set ``False``.\n",
" | - WRITEBACKIFCOPY can only be set ``False``.\n",
" | - ALIGNED can only be set ``True`` if the data is truly aligned.\n",
" | - WRITEABLE can only be set ``True`` if the array owns its own memory\n",
" | or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface or is a string.\n",
" | \n",
" | Arrays can be both C-style and Fortran-style contiguous simultaneously.\n",
" | This is clear for 1-dimensional arrays, but can also be true for higher\n",
" | dimensional arrays.\n",
" | \n",
" | Even for contiguous arrays a stride for a given dimension\n",
" | ``arr.strides[dim]`` may be *arbitrary* if ``arr.shape[dim] == 1``\n",
" | or the array has no elements.\n",
" | It does *not* generally hold that ``self.strides[-1] == self.itemsize``\n",
" | for C-style contiguous arrays or ``self.strides[0] == self.itemsize`` for\n",
" | Fortran-style contiguous arrays is true.\n",
" | \n",
" | flat\n",
" | A 1-D iterator over the array.\n",
" | \n",
" | This is a `numpy.flatiter` instance, which acts similarly to, but is not\n",
" | a subclass of, Python's built-in iterator object.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | flatten : Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(1, 7).reshape(2, 3)\n",
" | >>> x\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | >>> x.flat[3]\n",
" | 4\n",
" | >>> x.T\n",
" | array([[1, 4],\n",
" | [2, 5],\n",
" | [3, 6]])\n",
" | >>> x.T.flat[3]\n",
" | 5\n",
" | >>> type(x.flat)\n",
" | \n",
" | \n",
" | An assignment example:\n",
" | \n",
" | >>> x.flat = 3; x\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3]])\n",
" | >>> x.flat[[1,4]] = 1; x\n",
" | array([[3, 1, 3],\n",
" | [3, 1, 3]])\n",
" | \n",
" | imag\n",
" | The imaginary part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.imag\n",
" | array([ 0. , 0.70710678])\n",
" | >>> x.imag.dtype\n",
" | dtype('float64')\n",
" | \n",
" | itemsize\n",
" | Length of one array element in bytes.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1,2,3], dtype=np.float64)\n",
" | >>> x.itemsize\n",
" | 8\n",
" | >>> x = np.array([1,2,3], dtype=np.complex128)\n",
" | >>> x.itemsize\n",
" | 16\n",
" | \n",
" | nbytes\n",
" | Total bytes consumed by the elements of the array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Does not include memory consumed by non-element attributes of the\n",
" | array object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3,5,2), dtype=np.complex128)\n",
" | >>> x.nbytes\n",
" | 480\n",
" | >>> np.prod(x.shape) * x.itemsize\n",
" | 480\n",
" | \n",
" | ndim\n",
" | Number of array dimensions.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> x.ndim\n",
" | 1\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.ndim\n",
" | 3\n",
" | \n",
" | real\n",
" | The real part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.real\n",
" | array([ 1. , 0.70710678])\n",
" | >>> x.real.dtype\n",
" | dtype('float64')\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.real : equivalent function\n",
" | \n",
" | shape\n",
" | Tuple of array dimensions.\n",
" | \n",
" | The shape property is usually used to get the current shape of an array,\n",
" | but may also be used to reshape the array in-place by assigning a tuple of\n",
" | array dimensions to it. As with `numpy.reshape`, one of the new shape\n",
" | dimensions can be -1, in which case its value is inferred from the size of\n",
" | the array and the remaining dimensions. Reshaping an array in-place will\n",
" | fail if a copy is required.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3, 4])\n",
" | >>> x.shape\n",
" | (4,)\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.shape\n",
" | (2, 3, 4)\n",
" | >>> y.shape = (3, 8)\n",
" | >>> y\n",
" | array([[ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.]])\n",
" | >>> y.shape = (3, 6)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: total size of new array must be unchanged\n",
" | >>> np.zeros((4,2))[::2].shape = (-1,)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | AttributeError: Incompatible shape for in-place modification. Use\n",
" | `.reshape()` to make a copy with the desired shape.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : similar function\n",
" | ndarray.reshape : similar method\n",
" | \n",
" | size\n",
" | Number of elements in the array.\n",
" | \n",
" | Equal to ``np.prod(a.shape)``, i.e., the product of the array's\n",
" | dimensions.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | `a.size` returns a standard arbitrary precision Python integer. This\n",
" | may not be the case with other methods of obtaining the same value\n",
" | (like the suggested ``np.prod(a.shape)``, which returns an instance\n",
" | of ``np.int_``), and may be relevant if the value is used further in\n",
" | calculations that may overflow a fixed size integer type.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3, 5, 2), dtype=np.complex128)\n",
" | >>> x.size\n",
" | 30\n",
" | >>> np.prod(x.shape)\n",
" | 30\n",
" | \n",
" | strides\n",
" | Tuple of bytes to step in each dimension when traversing an array.\n",
" | \n",
" | The byte offset of element ``(i[0], i[1], ..., i[n])`` in an array `a`\n",
" | is::\n",
" | \n",
" | offset = sum(np.array(i) * a.strides)\n",
" | \n",
" | A more detailed explanation of strides can be found in the\n",
" | \"ndarray.rst\" file in the NumPy reference guide.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Imagine an array of 32-bit integers (each 4 bytes)::\n",
" | \n",
" | x = np.array([[0, 1, 2, 3, 4],\n",
" | [5, 6, 7, 8, 9]], dtype=np.int32)\n",
" | \n",
" | This array is stored in memory as 40 bytes, one after the other\n",
" | (known as a contiguous block of memory). The strides of an array tell\n",
" | us how many bytes we have to skip in memory to move to the next position\n",
" | along a certain axis. For example, we have to skip 4 bytes (1 value) to\n",
" | move to the next column, but 20 bytes (5 values) to get to the same\n",
" | position in the next row. As such, the strides for the array `x` will be\n",
" | ``(20, 4)``.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.lib.stride_tricks.as_strided\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.reshape(np.arange(2*3*4), (2,3,4))\n",
" | >>> y\n",
" | array([[[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]],\n",
" | [[12, 13, 14, 15],\n",
" | [16, 17, 18, 19],\n",
" | [20, 21, 22, 23]]])\n",
" | >>> y.strides\n",
" | (48, 16, 4)\n",
" | >>> y[1,1,1]\n",
" | 17\n",
" | >>> offset=sum(y.strides * np.array((1,1,1)))\n",
" | >>> offset/y.itemsize\n",
" | 17\n",
" | \n",
" | >>> x = np.reshape(np.arange(5*6*7*8), (5,6,7,8)).transpose(2,3,1,0)\n",
" | >>> x.strides\n",
" | (32, 4, 224, 1344)\n",
" | >>> i = np.array([3,5,2,2])\n",
" | >>> offset = sum(i * x.strides)\n",
" | >>> x[3,5,2,2]\n",
" | 813\n",
" | >>> offset / x.itemsize\n",
" | 813\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class ndenumerate(builtins.object)\n",
" | ndenumerate(arr)\n",
" | \n",
" | Multidimensional index iterator.\n",
" | \n",
" | Return an iterator yielding pairs of array coordinates and values.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | arr : ndarray\n",
" | Input array.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndindex, flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> for index, x in np.ndenumerate(a):\n",
" | ... print(index, x)\n",
" | (0, 0) 1\n",
" | (0, 1) 2\n",
" | (1, 0) 3\n",
" | (1, 1) 4\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __init__(self, arr)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | __iter__(self)\n",
" | \n",
" | __next__(self)\n",
" | Standard iterator method, returns the index tuple and array value.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | coords : tuple of ints\n",
" | The indices of the current iteration.\n",
" | val : scalar\n",
" | The array element of the current iteration.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class ndindex(builtins.object)\n",
" | ndindex(*shape)\n",
" | \n",
" | An N-dimensional iterator object to index arrays.\n",
" | \n",
" | Given the shape of an array, an `ndindex` instance iterates over\n",
" | the N-dimensional index of the array. At each iteration a tuple\n",
" | of indices is returned, the last dimension is iterated over first.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | `*args` : ints\n",
" | The size of each dimension of the array.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndenumerate, flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> for index in np.ndindex(3, 2, 1):\n",
" | ... print(index)\n",
" | (0, 0, 0)\n",
" | (0, 1, 0)\n",
" | (1, 0, 0)\n",
" | (1, 1, 0)\n",
" | (2, 0, 0)\n",
" | (2, 1, 0)\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __init__(self, *shape)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | __iter__(self)\n",
" | \n",
" | __next__(self)\n",
" | Standard iterator method, updates the index and returns the index\n",
" | tuple.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | val : tuple of ints\n",
" | Returns a tuple containing the indices of the current\n",
" | iteration.\n",
" | \n",
" | ndincr(self)\n",
" | Increment the multi-dimensional index by one.\n",
" | \n",
" | This method is for backward compatibility only: do not use.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class nditer(builtins.object)\n",
" | nditer(op, flags=None, op_flags=None, op_dtypes=None, order='K', casting='safe', op_axes=None, itershape=None, buffersize=0)\n",
" | \n",
" | Efficient multi-dimensional iterator object to iterate over arrays.\n",
" | To get started using this object, see the\n",
" | :ref:`introductory guide to array iteration `.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | op : ndarray or sequence of array_like\n",
" | The array(s) to iterate over.\n",
" | \n",
" | flags : sequence of str, optional\n",
" | Flags to control the behavior of the iterator.\n",
" | \n",
" | * ``buffered`` enables buffering when required.\n",
" | * ``c_index`` causes a C-order index to be tracked.\n",
" | * ``f_index`` causes a Fortran-order index to be tracked.\n",
" | * ``multi_index`` causes a multi-index, or a tuple of indices\n",
" | with one per iteration dimension, to be tracked.\n",
" | * ``common_dtype`` causes all the operands to be converted to\n",
" | a common data type, with copying or buffering as necessary.\n",
" | * ``copy_if_overlap`` causes the iterator to determine if read\n",
" | operands have overlap with write operands, and make temporary\n",
" | copies as necessary to avoid overlap. False positives (needless\n",
" | copying) are possible in some cases.\n",
" | * ``delay_bufalloc`` delays allocation of the buffers until\n",
" | a reset() call is made. Allows ``allocate`` operands to\n",
" | be initialized before their values are copied into the buffers.\n",
" | * ``external_loop`` causes the ``values`` given to be\n",
" | one-dimensional arrays with multiple values instead of\n",
" | zero-dimensional arrays.\n",
" | * ``grow_inner`` allows the ``value`` array sizes to be made\n",
" | larger than the buffer size when both ``buffered`` and\n",
" | ``external_loop`` is used.\n",
" | * ``ranged`` allows the iterator to be restricted to a sub-range\n",
" | of the iterindex values.\n",
" | * ``refs_ok`` enables iteration of reference types, such as\n",
" | object arrays.\n",
" | * ``reduce_ok`` enables iteration of ``readwrite`` operands\n",
" | which are broadcasted, also known as reduction operands.\n",
" | * ``zerosize_ok`` allows `itersize` to be zero.\n",
" | op_flags : list of list of str, optional\n",
" | This is a list of flags for each operand. At minimum, one of\n",
" | ``readonly``, ``readwrite``, or ``writeonly`` must be specified.\n",
" | \n",
" | * ``readonly`` indicates the operand will only be read from.\n",
" | * ``readwrite`` indicates the operand will be read from and written to.\n",
" | * ``writeonly`` indicates the operand will only be written to.\n",
" | * ``no_broadcast`` prevents the operand from being broadcasted.\n",
" | * ``contig`` forces the operand data to be contiguous.\n",
" | * ``aligned`` forces the operand data to be aligned.\n",
" | * ``nbo`` forces the operand data to be in native byte order.\n",
" | * ``copy`` allows a temporary read-only copy if required.\n",
" | * ``updateifcopy`` allows a temporary read-write copy if required.\n",
" | * ``allocate`` causes the array to be allocated if it is None\n",
" | in the ``op`` parameter.\n",
" | * ``no_subtype`` prevents an ``allocate`` operand from using a subtype.\n",
" | * ``arraymask`` indicates that this operand is the mask to use\n",
" | for selecting elements when writing to operands with the\n",
" | 'writemasked' flag set. The iterator does not enforce this,\n",
" | but when writing from a buffer back to the array, it only\n",
" | copies those elements indicated by this mask.\n",
" | * ``writemasked`` indicates that only elements where the chosen\n",
" | ``arraymask`` operand is True will be written to.\n",
" | * ``overlap_assume_elementwise`` can be used to mark operands that are\n",
" | accessed only in the iterator order, to allow less conservative\n",
" | copying when ``copy_if_overlap`` is present.\n",
" | op_dtypes : dtype or tuple of dtype(s), optional\n",
" | The required data type(s) of the operands. If copying or buffering\n",
" | is enabled, the data will be converted to/from their original types.\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the iteration order. 'C' means C order, 'F' means\n",
" | Fortran order, 'A' means 'F' order if all the arrays are Fortran\n",
" | contiguous, 'C' order otherwise, and 'K' means as close to the\n",
" | order the array elements appear in memory as possible. This also\n",
" | affects the element memory order of ``allocate`` operands, as they\n",
" | are allocated to be compatible with iteration order.\n",
" | Default is 'K'.\n",
" | casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional\n",
" | Controls what kind of data casting may occur when making a copy\n",
" | or buffering. Setting this to 'unsafe' is not recommended,\n",
" | as it can adversely affect accumulations.\n",
" | \n",
" | * 'no' means the data types should not be cast at all.\n",
" | * 'equiv' means only byte-order changes are allowed.\n",
" | * 'safe' means only casts which can preserve values are allowed.\n",
" | * 'same_kind' means only safe casts or casts within a kind,\n",
" | like float64 to float32, are allowed.\n",
" | * 'unsafe' means any data conversions may be done.\n",
" | op_axes : list of list of ints, optional\n",
" | If provided, is a list of ints or None for each operands.\n",
" | The list of axes for an operand is a mapping from the dimensions\n",
" | of the iterator to the dimensions of the operand. A value of\n",
" | -1 can be placed for entries, causing that dimension to be\n",
" | treated as `newaxis`.\n",
" | itershape : tuple of ints, optional\n",
" | The desired shape of the iterator. This allows ``allocate`` operands\n",
" | with a dimension mapped by op_axes not corresponding to a dimension\n",
" | of a different operand to get a value not equal to 1 for that\n",
" | dimension.\n",
" | buffersize : int, optional\n",
" | When buffering is enabled, controls the size of the temporary\n",
" | buffers. Set to 0 for the default value.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | dtypes : tuple of dtype(s)\n",
" | The data types of the values provided in `value`. This may be\n",
" | different from the operand data types if buffering is enabled.\n",
" | Valid only before the iterator is closed.\n",
" | finished : bool\n",
" | Whether the iteration over the operands is finished or not.\n",
" | has_delayed_bufalloc : bool\n",
" | If True, the iterator was created with the ``delay_bufalloc`` flag,\n",
" | and no reset() function was called on it yet.\n",
" | has_index : bool\n",
" | If True, the iterator was created with either the ``c_index`` or\n",
" | the ``f_index`` flag, and the property `index` can be used to\n",
" | retrieve it.\n",
" | has_multi_index : bool\n",
" | If True, the iterator was created with the ``multi_index`` flag,\n",
" | and the property `multi_index` can be used to retrieve it.\n",
" | index\n",
" | When the ``c_index`` or ``f_index`` flag was used, this property\n",
" | provides access to the index. Raises a ValueError if accessed\n",
" | and ``has_index`` is False.\n",
" | iterationneedsapi : bool\n",
" | Whether iteration requires access to the Python API, for example\n",
" | if one of the operands is an object array.\n",
" | iterindex : int\n",
" | An index which matches the order of iteration.\n",
" | itersize : int\n",
" | Size of the iterator.\n",
" | itviews\n",
" | Structured view(s) of `operands` in memory, matching the reordered\n",
" | and optimized iterator access pattern. Valid only before the iterator\n",
" | is closed.\n",
" | multi_index\n",
" | When the ``multi_index`` flag was used, this property\n",
" | provides access to the index. Raises a ValueError if accessed\n",
" | accessed and ``has_multi_index`` is False.\n",
" | ndim : int\n",
" | The dimensions of the iterator.\n",
" | nop : int\n",
" | The number of iterator operands.\n",
" | operands : tuple of operand(s)\n",
" | The array(s) to be iterated over. Valid only before the iterator is\n",
" | closed.\n",
" | shape : tuple of ints\n",
" | Shape tuple, the shape of the iterator.\n",
" | value\n",
" | Value of ``operands`` at current iteration. Normally, this is a\n",
" | tuple of array scalars, but if the flag ``external_loop`` is used,\n",
" | it is a tuple of one dimensional arrays.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | `nditer` supersedes `flatiter`. The iterator implementation behind\n",
" | `nditer` is also exposed by the NumPy C API.\n",
" | \n",
" | The Python exposure supplies two iteration interfaces, one which follows\n",
" | the Python iterator protocol, and another which mirrors the C-style\n",
" | do-while pattern. The native Python approach is better in most cases, but\n",
" | if you need the coordinates or index of an iterator, use the C-style pattern.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Here is how we might write an ``iter_add`` function, using the\n",
" | Python iterator protocol:\n",
" | \n",
" | >>> def iter_add_py(x, y, out=None):\n",
" | ... addop = np.add\n",
" | ... it = np.nditer([x, y, out], [],\n",
" | ... [['readonly'], ['readonly'], ['writeonly','allocate']])\n",
" | ... with it:\n",
" | ... for (a, b, c) in it:\n",
" | ... addop(a, b, out=c)\n",
" | ... return it.operands[2]\n",
" | \n",
" | Here is the same function, but following the C-style pattern:\n",
" | \n",
" | >>> def iter_add(x, y, out=None):\n",
" | ... addop = np.add\n",
" | ... it = np.nditer([x, y, out], [],\n",
" | ... [['readonly'], ['readonly'], ['writeonly','allocate']])\n",
" | ... with it:\n",
" | ... while not it.finished:\n",
" | ... addop(it[0], it[1], out=it[2])\n",
" | ... it.iternext()\n",
" | ... return it.operands[2]\n",
" | \n",
" | Here is an example outer product function:\n",
" | \n",
" | >>> def outer_it(x, y, out=None):\n",
" | ... mulop = np.multiply\n",
" | ... it = np.nditer([x, y, out], ['external_loop'],\n",
" | ... [['readonly'], ['readonly'], ['writeonly', 'allocate']],\n",
" | ... op_axes=[list(range(x.ndim)) + [-1] * y.ndim,\n",
" | ... [-1] * x.ndim + list(range(y.ndim)),\n",
" | ... None])\n",
" | ... with it:\n",
" | ... for (a, b, c) in it:\n",
" | ... mulop(a, b, out=c)\n",
" | ... return it.operands[2]\n",
" | \n",
" | >>> a = np.arange(2)+1\n",
" | >>> b = np.arange(3)+1\n",
" | >>> outer_it(a,b)\n",
" | array([[1, 2, 3],\n",
" | [2, 4, 6]])\n",
" | \n",
" | Here is an example function which operates like a \"lambda\" ufunc:\n",
" | \n",
" | >>> def luf(lamdaexpr, *args, **kwargs):\n",
" | ... '''luf(lambdaexpr, op1, ..., opn, out=None, order='K', casting='safe', buffersize=0)'''\n",
" | ... nargs = len(args)\n",
" | ... op = (kwargs.get('out',None),) + args\n",
" | ... it = np.nditer(op, ['buffered','external_loop'],\n",
" | ... [['writeonly','allocate','no_broadcast']] +\n",
" | ... [['readonly','nbo','aligned']]*nargs,\n",
" | ... order=kwargs.get('order','K'),\n",
" | ... casting=kwargs.get('casting','safe'),\n",
" | ... buffersize=kwargs.get('buffersize',0))\n",
" | ... while not it.finished:\n",
" | ... it[0] = lamdaexpr(*it[1:])\n",
" | ... it.iternext()\n",
" | ... return it.operands[0]\n",
" | \n",
" | >>> a = np.arange(5)\n",
" | >>> b = np.ones(5)\n",
" | >>> luf(lambda i,j:i*i + j/2, a, b)\n",
" | array([ 0.5, 1.5, 4.5, 9.5, 16.5])\n",
" | \n",
" | If operand flags `\"writeonly\"` or `\"readwrite\"` are used the\n",
" | operands may be views into the original data with the\n",
" | `WRITEBACKIFCOPY` flag. In this case `nditer` must be used as a\n",
" | context manager or the `nditer.close` method must be called before\n",
" | using the result. The temporary data will be written back to the\n",
" | original data when the `__exit__` function is called but not before:\n",
" | \n",
" | >>> a = np.arange(6, dtype='i4')[::-2]\n",
" | >>> with np.nditer(a, [],\n",
" | ... [['writeonly', 'updateifcopy']],\n",
" | ... casting='unsafe',\n",
" | ... op_dtypes=[np.dtype('f4')]) as i:\n",
" | ... x = i.operands[0]\n",
" | ... x[:] = [-1, -2, -3]\n",
" | ... # a still unchanged here\n",
" | >>> a, x\n",
" | (array([-1, -2, -3], dtype=int32), array([-1., -2., -3.], dtype=float32))\n",
" | \n",
" | It is important to note that once the iterator is exited, dangling\n",
" | references (like `x` in the example) may or may not share data with\n",
" | the original data `a`. If writeback semantics were active, i.e. if\n",
" | `x.base.flags.writebackifcopy` is `True`, then exiting the iterator\n",
" | will sever the connection between `x` and `a`, writing to `x` will\n",
" | no longer write to `a`. If writeback semantics are not active, then\n",
" | `x.data` will still point at some part of `a.data`, and writing to\n",
" | one will affect the other.\n",
" | \n",
" | Context management and the `close` method appeared in version 1.15.0.\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __enter__(...)\n",
" | \n",
" | __exit__(...)\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __init__(self, /, *args, **kwargs)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __next__(self, /)\n",
" | Implement next(self).\n",
" | \n",
" | __setitem__(self, key, value, /)\n",
" | Set self[key] to value.\n",
" | \n",
" | close(...)\n",
" | close()\n",
" | \n",
" | Resolve all writeback semantics in writeable operands.\n",
" | \n",
" | .. versionadded:: 1.15.0\n",
" | \n",
" | See Also\n",
" | --------\n",
" | \n",
" | :ref:`nditer-context-manager`\n",
" | \n",
" | copy(...)\n",
" | copy()\n",
" | \n",
" | Get a copy of the iterator in its current state.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(10)\n",
" | >>> y = x + 1\n",
" | >>> it = np.nditer([x, y])\n",
" | >>> next(it)\n",
" | (array(0), array(1))\n",
" | >>> it2 = it.copy()\n",
" | >>> next(it2)\n",
" | (array(1), array(2))\n",
" | \n",
" | debug_print(...)\n",
" | debug_print()\n",
" | \n",
" | Print the current state of the `nditer` instance and debug info to stdout.\n",
" | \n",
" | enable_external_loop(...)\n",
" | enable_external_loop()\n",
" | \n",
" | When the \"external_loop\" was not used during construction, but\n",
" | is desired, this modifies the iterator to behave as if the flag\n",
" | was specified.\n",
" | \n",
" | iternext(...)\n",
" | iternext()\n",
" | \n",
" | Check whether iterations are left, and perform a single internal iteration\n",
" | without returning the result. Used in the C-style pattern do-while\n",
" | pattern. For an example, see `nditer`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | iternext : bool\n",
" | Whether or not there are iterations left.\n",
" | \n",
" | remove_axis(...)\n",
" | remove_axis(i)\n",
" | \n",
" | Removes axis `i` from the iterator. Requires that the flag \"multi_index\"\n",
" | be enabled.\n",
" | \n",
" | remove_multi_index(...)\n",
" | remove_multi_index()\n",
" | \n",
" | When the \"multi_index\" flag was specified, this removes it, allowing\n",
" | the internal iteration structure to be optimized further.\n",
" | \n",
" | reset(...)\n",
" | reset()\n",
" | \n",
" | Reset the iterator to its initial state.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | dtypes\n",
" | \n",
" | finished\n",
" | \n",
" | has_delayed_bufalloc\n",
" | \n",
" | has_index\n",
" | \n",
" | has_multi_index\n",
" | \n",
" | index\n",
" | \n",
" | iterationneedsapi\n",
" | \n",
" | iterindex\n",
" | \n",
" | iterrange\n",
" | \n",
" | itersize\n",
" | \n",
" | itviews\n",
" | \n",
" | multi_index\n",
" | \n",
" | ndim\n",
" | \n",
" | nop\n",
" | \n",
" | operands\n",
" | operands[`Slice`]\n",
" | \n",
" | The array(s) to be iterated over. Valid only before the iterator is closed.\n",
" | \n",
" | shape\n",
" | \n",
" | value\n",
" \n",
" class number(generic)\n",
" | Abstract base class of all numeric scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" object0 = class object_(generic)\n",
" | Any Python object.\n",
" | Character code: ``'O'``.\n",
" | \n",
" | Method resolution order:\n",
" | object_\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __call__(self, /, *args, **kwargs)\n",
" | Call self as a function.\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Implement self+=value.\n",
" | \n",
" | __imul__(self, value, /)\n",
" | Implement self*=value.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class object_(generic)\n",
" | Any Python object.\n",
" | Character code: ``'O'``.\n",
" | \n",
" | Method resolution order:\n",
" | object_\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __call__(self, /, *args, **kwargs)\n",
" | Call self as a function.\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __delattr__(self, name, /)\n",
" | Implement delattr(self, name).\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getattribute__(self, name, /)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Implement self+=value.\n",
" | \n",
" | __imul__(self, value, /)\n",
" | Implement self*=value.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class poly1d(builtins.object)\n",
" | poly1d(c_or_r, r=False, variable=None)\n",
" | \n",
" | A one-dimensional polynomial class.\n",
" | \n",
" | A convenience class, used to encapsulate \"natural\" operations on\n",
" | polynomials so that said operations may take on their customary\n",
" | form in code (see Examples).\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | c_or_r : array_like\n",
" | The polynomial's coefficients, in decreasing powers, or if\n",
" | the value of the second parameter is True, the polynomial's\n",
" | roots (values where the polynomial evaluates to 0). For example,\n",
" | ``poly1d([1, 2, 3])`` returns an object that represents\n",
" | :math:`x^2 + 2x + 3`, whereas ``poly1d([1, 2, 3], True)`` returns\n",
" | one that represents :math:`(x-1)(x-2)(x-3) = x^3 - 6x^2 + 11x -6`.\n",
" | r : bool, optional\n",
" | If True, `c_or_r` specifies the polynomial's roots; the default\n",
" | is False.\n",
" | variable : str, optional\n",
" | Changes the variable used when printing `p` from `x` to `variable`\n",
" | (see Examples).\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Construct the polynomial :math:`x^2 + 2x + 3`:\n",
" | \n",
" | >>> p = np.poly1d([1, 2, 3])\n",
" | >>> print(np.poly1d(p))\n",
" | 2\n",
" | 1 x + 2 x + 3\n",
" | \n",
" | Evaluate the polynomial at :math:`x = 0.5`:\n",
" | \n",
" | >>> p(0.5)\n",
" | 4.25\n",
" | \n",
" | Find the roots:\n",
" | \n",
" | >>> p.r\n",
" | array([-1.+1.41421356j, -1.-1.41421356j])\n",
" | >>> p(p.r)\n",
" | array([ -4.44089210e-16+0.j, -4.44089210e-16+0.j]) # may vary\n",
" | \n",
" | These numbers in the previous line represent (0, 0) to machine precision\n",
" | \n",
" | Show the coefficients:\n",
" | \n",
" | >>> p.c\n",
" | array([1, 2, 3])\n",
" | \n",
" | Display the order (the leading zero-coefficients are removed):\n",
" | \n",
" | >>> p.order\n",
" | 2\n",
" | \n",
" | Show the coefficient of the k-th power in the polynomial\n",
" | (which is equivalent to ``p.c[-(i+1)]``):\n",
" | \n",
" | >>> p[1]\n",
" | 2\n",
" | \n",
" | Polynomials can be added, subtracted, multiplied, and divided\n",
" | (returns quotient and remainder):\n",
" | \n",
" | >>> p * p\n",
" | poly1d([ 1, 4, 10, 12, 9])\n",
" | \n",
" | >>> (p**3 + 4) / p\n",
" | (poly1d([ 1., 4., 10., 12., 9.]), poly1d([4.]))\n",
" | \n",
" | ``asarray(p)`` gives the coefficient array, so polynomials can be\n",
" | used in all functions that accept arrays:\n",
" | \n",
" | >>> p**2 # square of polynomial\n",
" | poly1d([ 1, 4, 10, 12, 9])\n",
" | \n",
" | >>> np.square(p) # square of individual coefficients\n",
" | array([1, 4, 9])\n",
" | \n",
" | The variable used in the string representation of `p` can be modified,\n",
" | using the `variable` parameter:\n",
" | \n",
" | >>> p = np.poly1d([1,2,3], variable='z')\n",
" | >>> print(p)\n",
" | 2\n",
" | 1 z + 2 z + 3\n",
" | \n",
" | Construct a polynomial from its roots:\n",
" | \n",
" | >>> np.poly1d([1, 2], True)\n",
" | poly1d([ 1., -3., 2.])\n",
" | \n",
" | This is the same polynomial as obtained by:\n",
" | \n",
" | >>> np.poly1d([1, -1]) * np.poly1d([1, -2])\n",
" | poly1d([ 1, -3, 2])\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __add__(self, other)\n",
" | \n",
" | __array__(self, t=None)\n",
" | \n",
" | __call__(self, val)\n",
" | Call self as a function.\n",
" | \n",
" | __div__(self, other)\n",
" | \n",
" | __eq__(self, other)\n",
" | Return self==value.\n",
" | \n",
" | __getitem__(self, val)\n",
" | \n",
" | __init__(self, c_or_r, r=False, variable=None)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | __iter__(self)\n",
" | \n",
" | __len__(self)\n",
" | \n",
" | __mul__(self, other)\n",
" | \n",
" | __ne__(self, other)\n",
" | Return self!=value.\n",
" | \n",
" | __neg__(self)\n",
" | \n",
" | __pos__(self)\n",
" | \n",
" | __pow__(self, val)\n",
" | \n",
" | __radd__(self, other)\n",
" | \n",
" | __rdiv__(self, other)\n",
" | \n",
" | __repr__(self)\n",
" | Return repr(self).\n",
" | \n",
" | __rmul__(self, other)\n",
" | \n",
" | __rsub__(self, other)\n",
" | \n",
" | __rtruediv__ = __rdiv__(self, other)\n",
" | \n",
" | __setitem__(self, key, val)\n",
" | \n",
" | __str__(self)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, other)\n",
" | \n",
" | __truediv__ = __div__(self, other)\n",
" | \n",
" | deriv(self, m=1)\n",
" | Return a derivative of this polynomial.\n",
" | \n",
" | Refer to `polyder` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | polyder : equivalent function\n",
" | \n",
" | integ(self, m=1, k=0)\n",
" | Return an antiderivative (indefinite integral) of this polynomial.\n",
" | \n",
" | Refer to `polyint` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | polyint : equivalent function\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Readonly properties defined here:\n",
" | \n",
" | o\n",
" | The order or degree of the polynomial\n",
" | \n",
" | order\n",
" | The order or degree of the polynomial\n",
" | \n",
" | r\n",
" | The roots of the polynomial, where self(x) == 0\n",
" | \n",
" | roots\n",
" | The roots of the polynomial, where self(x) == 0\n",
" | \n",
" | variable\n",
" | The name of the polynomial variable\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | c\n",
" | The polynomial coefficients\n",
" | \n",
" | coef\n",
" | The polynomial coefficients\n",
" | \n",
" | coefficients\n",
" | The polynomial coefficients\n",
" | \n",
" | coeffs\n",
" | The polynomial coefficients\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes defined here:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class recarray(ndarray)\n",
" | recarray(shape, dtype=None, buf=None, offset=0, strides=None, formats=None, names=None, titles=None, byteorder=None, aligned=False, order='C')\n",
" | \n",
" | Construct an ndarray that allows field access using attributes.\n",
" | \n",
" | Arrays may have a data-types containing fields, analogous\n",
" | to columns in a spread sheet. An example is ``[(x, int), (y, float)]``,\n",
" | where each entry in the array is a pair of ``(int, float)``. Normally,\n",
" | these attributes are accessed using dictionary lookups such as ``arr['x']``\n",
" | and ``arr['y']``. Record arrays allow the fields to be accessed as members\n",
" | of the array, using ``arr.x`` and ``arr.y``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | shape : tuple\n",
" | Shape of output array.\n",
" | dtype : data-type, optional\n",
" | The desired data-type. By default, the data-type is determined\n",
" | from `formats`, `names`, `titles`, `aligned` and `byteorder`.\n",
" | formats : list of data-types, optional\n",
" | A list containing the data-types for the different columns, e.g.\n",
" | ``['i4', 'f8', 'i4']``. `formats` does *not* support the new\n",
" | convention of using types directly, i.e. ``(int, float, int)``.\n",
" | Note that `formats` must be a list, not a tuple.\n",
" | Given that `formats` is somewhat limited, we recommend specifying\n",
" | `dtype` instead.\n",
" | names : tuple of str, optional\n",
" | The name of each column, e.g. ``('x', 'y', 'z')``.\n",
" | buf : buffer, optional\n",
" | By default, a new array is created of the given shape and data-type.\n",
" | If `buf` is specified and is an object exposing the buffer interface,\n",
" | the array will use the memory from the existing buffer. In this case,\n",
" | the `offset` and `strides` keywords are available.\n",
" | \n",
" | Other Parameters\n",
" | ----------------\n",
" | titles : tuple of str, optional\n",
" | Aliases for column names. For example, if `names` were\n",
" | ``('x', 'y', 'z')`` and `titles` is\n",
" | ``('x_coordinate', 'y_coordinate', 'z_coordinate')``, then\n",
" | ``arr['x']`` is equivalent to both ``arr.x`` and ``arr.x_coordinate``.\n",
" | byteorder : {'<', '>', '='}, optional\n",
" | Byte-order for all fields.\n",
" | aligned : bool, optional\n",
" | Align the fields in memory as the C-compiler would.\n",
" | strides : tuple of ints, optional\n",
" | Buffer (`buf`) is interpreted according to these strides (strides\n",
" | define how many bytes each array element, row, column, etc.\n",
" | occupy in memory).\n",
" | offset : int, optional\n",
" | Start reading buffer (`buf`) from this offset onwards.\n",
" | order : {'C', 'F'}, optional\n",
" | Row-major (C-style) or column-major (Fortran-style) order.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | rec : recarray\n",
" | Empty array of the given shape and type.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | rec.fromrecords : Construct a record array from data.\n",
" | record : fundamental data-type for `recarray`.\n",
" | format_parser : determine a data-type from formats, names, titles.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This constructor can be compared to ``empty``: it creates a new record\n",
" | array but does not fill it with data. To create a record array from data,\n",
" | use one of the following methods:\n",
" | \n",
" | 1. Create a standard ndarray and convert it to a record array,\n",
" | using ``arr.view(np.recarray)``\n",
" | 2. Use the `buf` keyword.\n",
" | 3. Use `np.rec.fromrecords`.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Create an array with two fields, ``x`` and ``y``:\n",
" | \n",
" | >>> x = np.array([(1.0, 2), (3.0, 4)], dtype=[('x', '>> x\n",
" | array([(1., 2), (3., 4)], dtype=[('x', '>> x['x']\n",
" | array([1., 3.])\n",
" | \n",
" | View the array as a record array:\n",
" | \n",
" | >>> x = x.view(np.recarray)\n",
" | \n",
" | >>> x.x\n",
" | array([1., 3.])\n",
" | \n",
" | >>> x.y\n",
" | array([2, 4])\n",
" | \n",
" | Create a new, empty record array:\n",
" | \n",
" | >>> np.recarray((2,),\n",
" | ... dtype=[('x', int), ('y', float), ('z', int)]) #doctest: +SKIP\n",
" | rec.array([(-1073741821, 1.2249118382103472e-301, 24547520),\n",
" | (3471280, 1.2134086255804012e-316, 0)],\n",
" | dtype=[('x', ' reference if type unchanged, copy otherwise.\n",
" | \n",
" | Returns either a new reference to self if dtype is not given or a new array\n",
" | of provided data type if dtype is different from the current dtype of the\n",
" | array.\n",
" | \n",
" | __array_function__(...)\n",
" | \n",
" | __array_prepare__(...)\n",
" | a.__array_prepare__(obj) -> Object of same type as ndarray object obj.\n",
" | \n",
" | __array_ufunc__(...)\n",
" | \n",
" | __array_wrap__(...)\n",
" | a.__array_wrap__(obj) -> Object of same type as ndarray object a.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __contains__(self, key, /)\n",
" | Return key in self.\n",
" | \n",
" | __copy__(...)\n",
" | a.__copy__()\n",
" | \n",
" | Used if :func:`copy.copy` is called on an array. Returns a copy of the array.\n",
" | \n",
" | Equivalent to ``a.copy(order='K')``.\n",
" | \n",
" | __deepcopy__(...)\n",
" | a.__deepcopy__(memo, /) -> Deep copy of array.\n",
" | \n",
" | Used if :func:`copy.deepcopy` is called on an array.\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | Default object formatter.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __iadd__(self, value, /)\n",
" | Return self+=value.\n",
" | \n",
" | __iand__(self, value, /)\n",
" | Return self&=value.\n",
" | \n",
" | __ifloordiv__(self, value, /)\n",
" | Return self//=value.\n",
" | \n",
" | __ilshift__(self, value, /)\n",
" | Return self<<=value.\n",
" | \n",
" | __imatmul__(self, value, /)\n",
" | Return self@=value.\n",
" | \n",
" | __imod__(self, value, /)\n",
" | Return self%=value.\n",
" | \n",
" | __imul__(self, value, /)\n",
" | Return self*=value.\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __ior__(self, value, /)\n",
" | Return self|=value.\n",
" | \n",
" | __ipow__(self, value, /)\n",
" | Return self**=value.\n",
" | \n",
" | __irshift__(self, value, /)\n",
" | Return self>>=value.\n",
" | \n",
" | __isub__(self, value, /)\n",
" | Return self-=value.\n",
" | \n",
" | __iter__(self, /)\n",
" | Implement iter(self).\n",
" | \n",
" | __itruediv__(self, value, /)\n",
" | Return self/=value.\n",
" | \n",
" | __ixor__(self, value, /)\n",
" | Return self^=value.\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setitem__(self, key, value, /)\n",
" | Set self[key] to value.\n",
" | \n",
" | __setstate__(...)\n",
" | a.__setstate__(state, /)\n",
" | \n",
" | For unpickling.\n",
" | \n",
" | The `state` argument must be a sequence that contains the following\n",
" | elements:\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | version : int\n",
" | optional pickle version. If omitted defaults to 0.\n",
" | shape : tuple\n",
" | dtype : data-type\n",
" | isFortran : bool\n",
" | rawdata : string or list\n",
" | a binary string with the data (or a list if 'a' is an object array)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | a.all(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if all elements evaluate to True.\n",
" | \n",
" | Refer to `numpy.all` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.all : equivalent function\n",
" | \n",
" | any(...)\n",
" | a.any(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Returns True if any of the elements of `a` evaluate to True.\n",
" | \n",
" | Refer to `numpy.any` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.any : equivalent function\n",
" | \n",
" | argmax(...)\n",
" | a.argmax(axis=None, out=None)\n",
" | \n",
" | Return indices of the maximum values along the given axis.\n",
" | \n",
" | Refer to `numpy.argmax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmax : equivalent function\n",
" | \n",
" | argmin(...)\n",
" | a.argmin(axis=None, out=None)\n",
" | \n",
" | Return indices of the minimum values along the given axis of `a`.\n",
" | \n",
" | Refer to `numpy.argmin` for detailed documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argmin : equivalent function\n",
" | \n",
" | argpartition(...)\n",
" | a.argpartition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Returns the indices that would partition this array.\n",
" | \n",
" | Refer to `numpy.argpartition` for full documentation.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argpartition : equivalent function\n",
" | \n",
" | argsort(...)\n",
" | a.argsort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Returns the indices that would sort this array.\n",
" | \n",
" | Refer to `numpy.argsort` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.argsort : equivalent function\n",
" | \n",
" | astype(...)\n",
" | a.astype(dtype, order='K', casting='unsafe', subok=True, copy=True)\n",
" | \n",
" | Copy of the array, cast to a specified type.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | Typecode or data-type to which the array is cast.\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout order of the result.\n",
" | 'C' means C order, 'F' means Fortran order, 'A'\n",
" | means 'F' order if all the arrays are Fortran contiguous,\n",
" | 'C' order otherwise, and 'K' means as close to the\n",
" | order the array elements appear in memory as possible.\n",
" | Default is 'K'.\n",
" | casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional\n",
" | Controls what kind of data casting may occur. Defaults to 'unsafe'\n",
" | for backwards compatibility.\n",
" | \n",
" | * 'no' means the data types should not be cast at all.\n",
" | * 'equiv' means only byte-order changes are allowed.\n",
" | * 'safe' means only casts which can preserve values are allowed.\n",
" | * 'same_kind' means only safe casts or casts within a kind,\n",
" | like float64 to float32, are allowed.\n",
" | * 'unsafe' means any data conversions may be done.\n",
" | subok : bool, optional\n",
" | If True, then sub-classes will be passed-through (default), otherwise\n",
" | the returned array will be forced to be a base-class array.\n",
" | copy : bool, optional\n",
" | By default, astype always returns a newly allocated array. If this\n",
" | is set to false, and the `dtype`, `order`, and `subok`\n",
" | requirements are satisfied, the input array is returned instead\n",
" | of a copy.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | arr_t : ndarray\n",
" | Unless `copy` is False and the other conditions for returning the input\n",
" | array are satisfied (see description for `copy` input parameter), `arr_t`\n",
" | is a new array of the same shape as the input array, with dtype, order\n",
" | given by `dtype`, `order`.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | .. versionchanged:: 1.17.0\n",
" | Casting between a simple data type and a structured one is possible only\n",
" | for \"unsafe\" casting. Casting to multiple fields is allowed, but\n",
" | casting from multiple fields is not.\n",
" | \n",
" | .. versionchanged:: 1.9.0\n",
" | Casting from numeric to string types in 'safe' casting mode requires\n",
" | that the string dtype length is long enough to store the max\n",
" | integer/float value converted.\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ComplexWarning\n",
" | When casting from complex to float or int. To avoid this,\n",
" | one should use ``a.real.astype(t)``.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 2.5])\n",
" | >>> x\n",
" | array([1. , 2. , 2.5])\n",
" | \n",
" | >>> x.astype(int)\n",
" | array([1, 2, 2])\n",
" | \n",
" | byteswap(...)\n",
" | a.byteswap(inplace=False)\n",
" | \n",
" | Swap the bytes of the array elements\n",
" | \n",
" | Toggle between low-endian and big-endian data representation by\n",
" | returning a byteswapped array, optionally swapped in-place.\n",
" | Arrays of byte-strings are not swapped. The real and imaginary\n",
" | parts of a complex number are swapped individually.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | inplace : bool, optional\n",
" | If ``True``, swap bytes in-place, default is ``False``.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | The byteswapped array. If `inplace` is ``True``, this is\n",
" | a view to self.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> A = np.array([1, 256, 8755], dtype=np.int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x1', '0x100', '0x2233']\n",
" | >>> A.byteswap(inplace=True)\n",
" | array([ 256, 1, 13090], dtype=int16)\n",
" | >>> list(map(hex, A))\n",
" | ['0x100', '0x1', '0x3322']\n",
" | \n",
" | Arrays of byte-strings are not swapped\n",
" | \n",
" | >>> A = np.array([b'ceg', b'fac'])\n",
" | >>> A.byteswap()\n",
" | array([b'ceg', b'fac'], dtype='|S3')\n",
" | \n",
" | ``A.newbyteorder().byteswap()`` produces an array with the same values\n",
" | but different representation in memory\n",
" | \n",
" | >>> A = np.array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,\n",
" | 0, 0], dtype=uint8)\n",
" | >>> A.newbyteorder().byteswap(inplace=True)\n",
" | array([1, 2, 3])\n",
" | >>> A.view(np.uint8)\n",
" | array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0,\n",
" | 0, 3], dtype=uint8)\n",
" | \n",
" | choose(...)\n",
" | a.choose(choices, out=None, mode='raise')\n",
" | \n",
" | Use an index array to construct a new array from a set of choices.\n",
" | \n",
" | Refer to `numpy.choose` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.choose : equivalent function\n",
" | \n",
" | clip(...)\n",
" | a.clip(min=None, max=None, out=None, **kwargs)\n",
" | \n",
" | Return an array whose values are limited to ``[min, max]``.\n",
" | One of max or min must be given.\n",
" | \n",
" | Refer to `numpy.clip` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.clip : equivalent function\n",
" | \n",
" | compress(...)\n",
" | a.compress(condition, axis=None, out=None)\n",
" | \n",
" | Return selected slices of this array along given axis.\n",
" | \n",
" | Refer to `numpy.compress` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.compress : equivalent function\n",
" | \n",
" | conj(...)\n",
" | a.conj()\n",
" | \n",
" | Complex-conjugate all elements.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | conjugate(...)\n",
" | a.conjugate()\n",
" | \n",
" | Return the complex conjugate, element-wise.\n",
" | \n",
" | Refer to `numpy.conjugate` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.conjugate : equivalent function\n",
" | \n",
" | copy(...)\n",
" | a.copy(order='C')\n",
" | \n",
" | Return a copy of the array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | Controls the memory layout of the copy. 'C' means C-order,\n",
" | 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,\n",
" | 'C' otherwise. 'K' means match the layout of `a` as closely\n",
" | as possible. (Note that this function and :func:`numpy.copy` are very\n",
" | similar, but have different default values for their order=\n",
" | arguments.)\n",
" | \n",
" | See also\n",
" | --------\n",
" | numpy.copy\n",
" | numpy.copyto\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([[1,2,3],[4,5,6]], order='F')\n",
" | \n",
" | >>> y = x.copy()\n",
" | \n",
" | >>> x.fill(0)\n",
" | \n",
" | >>> x\n",
" | array([[0, 0, 0],\n",
" | [0, 0, 0]])\n",
" | \n",
" | >>> y\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | \n",
" | >>> y.flags['C_CONTIGUOUS']\n",
" | True\n",
" | \n",
" | cumprod(...)\n",
" | a.cumprod(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative product of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumprod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumprod : equivalent function\n",
" | \n",
" | cumsum(...)\n",
" | a.cumsum(axis=None, dtype=None, out=None)\n",
" | \n",
" | Return the cumulative sum of the elements along the given axis.\n",
" | \n",
" | Refer to `numpy.cumsum` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.cumsum : equivalent function\n",
" | \n",
" | diagonal(...)\n",
" | a.diagonal(offset=0, axis1=0, axis2=1)\n",
" | \n",
" | Return specified diagonals. In NumPy 1.9 the returned array is a\n",
" | read-only view instead of a copy as in previous NumPy versions. In\n",
" | a future version the read-only restriction will be removed.\n",
" | \n",
" | Refer to :func:`numpy.diagonal` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.diagonal : equivalent function\n",
" | \n",
" | dot(...)\n",
" | a.dot(b, out=None)\n",
" | \n",
" | Dot product of two arrays.\n",
" | \n",
" | Refer to `numpy.dot` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dot : equivalent function\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.eye(2)\n",
" | >>> b = np.ones((2, 2)) * 2\n",
" | >>> a.dot(b)\n",
" | array([[2., 2.],\n",
" | [2., 2.]])\n",
" | \n",
" | This array method can be conveniently chained:\n",
" | \n",
" | >>> a.dot(b).dot(b)\n",
" | array([[8., 8.],\n",
" | [8., 8.]])\n",
" | \n",
" | dump(...)\n",
" | a.dump(file)\n",
" | \n",
" | Dump a pickle of the array to the specified file.\n",
" | The array can be read back with pickle.load or numpy.load.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | file : str or Path\n",
" | A string naming the dump file.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | dumps(...)\n",
" | a.dumps()\n",
" | \n",
" | Returns the pickle of the array as a string.\n",
" | pickle.loads or numpy.loads will convert the string back to an array.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | fill(...)\n",
" | a.fill(value)\n",
" | \n",
" | Fill the array with a scalar value.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | value : scalar\n",
" | All elements of `a` will be assigned this value.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([1, 2])\n",
" | >>> a.fill(0)\n",
" | >>> a\n",
" | array([0, 0])\n",
" | >>> a = np.empty(2)\n",
" | >>> a.fill(1)\n",
" | >>> a\n",
" | array([1., 1.])\n",
" | \n",
" | flatten(...)\n",
" | a.flatten(order='C')\n",
" | \n",
" | Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | order : {'C', 'F', 'A', 'K'}, optional\n",
" | 'C' means to flatten in row-major (C-style) order.\n",
" | 'F' means to flatten in column-major (Fortran-\n",
" | style) order. 'A' means to flatten in column-major\n",
" | order if `a` is Fortran *contiguous* in memory,\n",
" | row-major order otherwise. 'K' means to flatten\n",
" | `a` in the order the elements occur in memory.\n",
" | The default is 'C'.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : ndarray\n",
" | A copy of the input array, flattened to one dimension.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ravel : Return a flattened array.\n",
" | flat : A 1-D flat iterator over the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,2], [3,4]])\n",
" | >>> a.flatten()\n",
" | array([1, 2, 3, 4])\n",
" | >>> a.flatten('F')\n",
" | array([1, 3, 2, 4])\n",
" | \n",
" | getfield(...)\n",
" | a.getfield(dtype, offset=0)\n",
" | \n",
" | Returns a field of the given array as a certain type.\n",
" | \n",
" | A field is a view of the array data with a given data-type. The values in\n",
" | the view are determined by the given type and the offset into the current\n",
" | array in bytes. The offset needs to be such that the view dtype fits in the\n",
" | array dtype; for example an array of dtype complex128 has 16-byte elements.\n",
" | If taking a view with a 32-bit integer (4 bytes), the offset needs to be\n",
" | between 0 and 12 bytes.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : str or dtype\n",
" | The data type of the view. The dtype size of the view can not be larger\n",
" | than that of the array itself.\n",
" | offset : int\n",
" | Number of bytes to skip before beginning the element view.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.diag([1.+1.j]*2)\n",
" | >>> x[1, 1] = 2 + 4.j\n",
" | >>> x\n",
" | array([[1.+1.j, 0.+0.j],\n",
" | [0.+0.j, 2.+4.j]])\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0.],\n",
" | [0., 2.]])\n",
" | \n",
" | By choosing an offset of 8 bytes we can select the complex part of the\n",
" | array for our view:\n",
" | \n",
" | >>> x.getfield(np.float64, offset=8)\n",
" | array([[1., 0.],\n",
" | [0., 4.]])\n",
" | \n",
" | item(...)\n",
" | a.item(*args)\n",
" | \n",
" | Copy an element of an array to a standard Python scalar and return it.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments (variable number and type)\n",
" | \n",
" | * none: in this case, the method only works for arrays\n",
" | with one element (`a.size == 1`), which element is\n",
" | copied into a standard Python scalar object and returned.\n",
" | \n",
" | * int_type: this argument is interpreted as a flat index into\n",
" | the array, specifying which element to copy and return.\n",
" | \n",
" | * tuple of int_types: functions as does a single int_type argument,\n",
" | except that the argument is interpreted as an nd-index into the\n",
" | array.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | z : Standard Python scalar object\n",
" | A copy of the specified element of the array as a suitable\n",
" | Python scalar\n",
" | \n",
" | Notes\n",
" | -----\n",
" | When the data type of `a` is longdouble or clongdouble, item() returns\n",
" | a scalar array object because there is no available Python scalar that\n",
" | would not lose information. Void arrays return a buffer object for item(),\n",
" | unless fields are defined, in which case a tuple is returned.\n",
" | \n",
" | `item` is very similar to a[args], except, instead of an array scalar,\n",
" | a standard Python scalar is returned. This can be useful for speeding up\n",
" | access to elements of the array and doing arithmetic on elements of the\n",
" | array using Python's optimized math.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.item(3)\n",
" | 1\n",
" | >>> x.item(7)\n",
" | 0\n",
" | >>> x.item((0, 1))\n",
" | 2\n",
" | >>> x.item((2, 2))\n",
" | 1\n",
" | \n",
" | itemset(...)\n",
" | a.itemset(*args)\n",
" | \n",
" | Insert scalar into an array (scalar is cast to array's dtype, if possible)\n",
" | \n",
" | There must be at least 1 argument, and define the last argument\n",
" | as *item*. Then, ``a.itemset(*args)`` is equivalent to but faster\n",
" | than ``a[args] = item``. The item should be a scalar value and `args`\n",
" | must select a single item in the array `a`.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | \\*args : Arguments\n",
" | If one argument: a scalar, only used in case `a` is of size 1.\n",
" | If two arguments: the last argument is the value to be set\n",
" | and must be a scalar, the first argument specifies a single array\n",
" | element location. It is either an int or a tuple.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Compared to indexing syntax, `itemset` provides some speed increase\n",
" | for placing a scalar into a particular location in an `ndarray`,\n",
" | if you must do this. However, generally this is discouraged:\n",
" | among other problems, it complicates the appearance of the code.\n",
" | Also, when using `itemset` (and `item`) inside a loop, be sure\n",
" | to assign the methods to a local variable to avoid the attribute\n",
" | look-up at each loop iteration.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.random.seed(123)\n",
" | >>> x = np.random.randint(9, size=(3, 3))\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 3, 6],\n",
" | [1, 0, 1]])\n",
" | >>> x.itemset(4, 0)\n",
" | >>> x.itemset((2, 2), 9)\n",
" | >>> x\n",
" | array([[2, 2, 6],\n",
" | [1, 0, 6],\n",
" | [1, 0, 9]])\n",
" | \n",
" | max(...)\n",
" | a.max(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the maximum along a given axis.\n",
" | \n",
" | Refer to `numpy.amax` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amax : equivalent function\n",
" | \n",
" | mean(...)\n",
" | a.mean(axis=None, dtype=None, out=None, keepdims=False)\n",
" | \n",
" | Returns the average of the array elements along given axis.\n",
" | \n",
" | Refer to `numpy.mean` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.mean : equivalent function\n",
" | \n",
" | min(...)\n",
" | a.min(axis=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Return the minimum along a given axis.\n",
" | \n",
" | Refer to `numpy.amin` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.amin : equivalent function\n",
" | \n",
" | newbyteorder(...)\n",
" | arr.newbyteorder(new_order='S')\n",
" | \n",
" | Return the array with the same data viewed with a different byte order.\n",
" | \n",
" | Equivalent to::\n",
" | \n",
" | arr.view(arr.dtype.newbytorder(new_order))\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the array data\n",
" | type.\n",
" | \n",
" | \n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : string, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | below. `new_order` codes can be any of:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_arr : array\n",
" | New array object with the dtype reflecting given change to the\n",
" | byte order.\n",
" | \n",
" | nonzero(...)\n",
" | a.nonzero()\n",
" | \n",
" | Return the indices of the elements that are non-zero.\n",
" | \n",
" | Refer to `numpy.nonzero` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.nonzero : equivalent function\n",
" | \n",
" | partition(...)\n",
" | a.partition(kth, axis=-1, kind='introselect', order=None)\n",
" | \n",
" | Rearranges the elements in the array in such a way that the value of the\n",
" | element in kth position is in the position it would be in a sorted array.\n",
" | All elements smaller than the kth element are moved before this element and\n",
" | all equal or greater are moved behind it. The ordering of the elements in\n",
" | the two partitions is undefined.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | kth : int or sequence of ints\n",
" | Element index to partition by. The kth element value will be in its\n",
" | final sorted position and all smaller elements will be moved before it\n",
" | and all equal or greater elements behind it.\n",
" | The order of all elements in the partitions is undefined.\n",
" | If provided with a sequence of kth it will partition all elements\n",
" | indexed by kth of them into their sorted position at once.\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'introselect'}, optional\n",
" | Selection algorithm. Default is 'introselect'.\n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need to be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.partition : Return a parititioned copy of an array.\n",
" | argpartition : Indirect partition.\n",
" | sort : Full sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See ``np.partition`` for notes on the different algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([3, 4, 2, 1])\n",
" | >>> a.partition(3)\n",
" | >>> a\n",
" | array([2, 1, 3, 4])\n",
" | \n",
" | >>> a.partition((1, 3))\n",
" | >>> a\n",
" | array([1, 2, 3, 4])\n",
" | \n",
" | prod(...)\n",
" | a.prod(axis=None, dtype=None, out=None, keepdims=False, initial=1, where=True)\n",
" | \n",
" | Return the product of the array elements over the given axis\n",
" | \n",
" | Refer to `numpy.prod` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.prod : equivalent function\n",
" | \n",
" | ptp(...)\n",
" | a.ptp(axis=None, out=None, keepdims=False)\n",
" | \n",
" | Peak to peak (maximum - minimum) value along a given axis.\n",
" | \n",
" | Refer to `numpy.ptp` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ptp : equivalent function\n",
" | \n",
" | put(...)\n",
" | a.put(indices, values, mode='raise')\n",
" | \n",
" | Set ``a.flat[n] = values[n]`` for all `n` in indices.\n",
" | \n",
" | Refer to `numpy.put` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.put : equivalent function\n",
" | \n",
" | ravel(...)\n",
" | a.ravel([order])\n",
" | \n",
" | Return a flattened array.\n",
" | \n",
" | Refer to `numpy.ravel` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ravel : equivalent function\n",
" | \n",
" | ndarray.flat : a flat iterator on the array.\n",
" | \n",
" | repeat(...)\n",
" | a.repeat(repeats, axis=None)\n",
" | \n",
" | Repeat elements of an array.\n",
" | \n",
" | Refer to `numpy.repeat` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.repeat : equivalent function\n",
" | \n",
" | reshape(...)\n",
" | a.reshape(shape, order='C')\n",
" | \n",
" | Returns an array containing the same data with a new shape.\n",
" | \n",
" | Refer to `numpy.reshape` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : equivalent function\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Unlike the free function `numpy.reshape`, this method on `ndarray` allows\n",
" | the elements of the shape parameter to be passed in as separate arguments.\n",
" | For example, ``a.reshape(10, 11)`` is equivalent to\n",
" | ``a.reshape((10, 11))``.\n",
" | \n",
" | resize(...)\n",
" | a.resize(new_shape, refcheck=True)\n",
" | \n",
" | Change shape and size of array in-place.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_shape : tuple of ints, or `n` ints\n",
" | Shape of resized array.\n",
" | refcheck : bool, optional\n",
" | If False, reference count will not be checked. Default is True.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | Raises\n",
" | ------\n",
" | ValueError\n",
" | If `a` does not own its own data or references or views to it exist,\n",
" | and the data memory must be changed.\n",
" | PyPy only: will always raise if the data memory must be changed, since\n",
" | there is no reliable way to determine if references or views to it\n",
" | exist.\n",
" | \n",
" | SystemError\n",
" | If the `order` keyword argument is specified. This behaviour is a\n",
" | bug in NumPy.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | resize : Return a new array with the specified shape.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This reallocates space for the data area if necessary.\n",
" | \n",
" | Only contiguous arrays (data elements consecutive in memory) can be\n",
" | resized.\n",
" | \n",
" | The purpose of the reference count check is to make sure you\n",
" | do not use this array as a buffer for another Python object and then\n",
" | reallocate the memory. However, reference counts can increase in\n",
" | other ways so if you are sure that you have not shared the memory\n",
" | for this array with another Python object, then you may safely set\n",
" | `refcheck` to False.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Shrinking an array: array is flattened (in the order that the data are\n",
" | stored in memory), resized, and reshaped:\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='C')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [1]])\n",
" | \n",
" | >>> a = np.array([[0, 1], [2, 3]], order='F')\n",
" | >>> a.resize((2, 1))\n",
" | >>> a\n",
" | array([[0],\n",
" | [2]])\n",
" | \n",
" | Enlarging an array: as above, but missing entries are filled with zeros:\n",
" | \n",
" | >>> b = np.array([[0, 1], [2, 3]])\n",
" | >>> b.resize(2, 3) # new_shape parameter doesn't have to be a tuple\n",
" | >>> b\n",
" | array([[0, 1, 2],\n",
" | [3, 0, 0]])\n",
" | \n",
" | Referencing an array prevents resizing...\n",
" | \n",
" | >>> c = a\n",
" | >>> a.resize((1, 1))\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: cannot resize an array that references or is referenced ...\n",
" | \n",
" | Unless `refcheck` is False:\n",
" | \n",
" | >>> a.resize((1, 1), refcheck=False)\n",
" | >>> a\n",
" | array([[0]])\n",
" | >>> c\n",
" | array([[0]])\n",
" | \n",
" | round(...)\n",
" | a.round(decimals=0, out=None)\n",
" | \n",
" | Return `a` with each element rounded to the given number of decimals.\n",
" | \n",
" | Refer to `numpy.around` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.around : equivalent function\n",
" | \n",
" | searchsorted(...)\n",
" | a.searchsorted(v, side='left', sorter=None)\n",
" | \n",
" | Find indices where elements of v should be inserted in a to maintain order.\n",
" | \n",
" | For full documentation, see `numpy.searchsorted`\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.searchsorted : equivalent function\n",
" | \n",
" | setfield(...)\n",
" | a.setfield(val, dtype, offset=0)\n",
" | \n",
" | Put a value into a specified place in a field defined by a data-type.\n",
" | \n",
" | Place `val` into `a`'s field defined by `dtype` and beginning `offset`\n",
" | bytes into the field.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | val : object\n",
" | Value to be placed in field.\n",
" | dtype : dtype object\n",
" | Data-type of the field in which to place `val`.\n",
" | offset : int, optional\n",
" | The number of bytes into the field at which to place `val`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | None\n",
" | \n",
" | See Also\n",
" | --------\n",
" | getfield\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.eye(3)\n",
" | >>> x.getfield(np.float64)\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | >>> x.setfield(3, np.int32)\n",
" | >>> x.getfield(np.int32)\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3],\n",
" | [3, 3, 3]], dtype=int32)\n",
" | >>> x\n",
" | array([[1.0e+000, 1.5e-323, 1.5e-323],\n",
" | [1.5e-323, 1.0e+000, 1.5e-323],\n",
" | [1.5e-323, 1.5e-323, 1.0e+000]])\n",
" | >>> x.setfield(np.eye(3), np.int32)\n",
" | >>> x\n",
" | array([[1., 0., 0.],\n",
" | [0., 1., 0.],\n",
" | [0., 0., 1.]])\n",
" | \n",
" | setflags(...)\n",
" | a.setflags(write=None, align=None, uic=None)\n",
" | \n",
" | Set array flags WRITEABLE, ALIGNED, (WRITEBACKIFCOPY and UPDATEIFCOPY),\n",
" | respectively.\n",
" | \n",
" | These Boolean-valued flags affect how numpy interprets the memory\n",
" | area used by `a` (see Notes below). The ALIGNED flag can only\n",
" | be set to True if the data is actually aligned according to the type.\n",
" | The WRITEBACKIFCOPY and (deprecated) UPDATEIFCOPY flags can never be set\n",
" | to True. The flag WRITEABLE can only be set to True if the array owns its\n",
" | own memory, or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface, or is a string. (The exception for string is made so that\n",
" | unpickling can be done without copying memory.)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | write : bool, optional\n",
" | Describes whether or not `a` can be written to.\n",
" | align : bool, optional\n",
" | Describes whether or not `a` is aligned properly for its type.\n",
" | uic : bool, optional\n",
" | Describes whether or not `a` is a copy of another \"base\" array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Array flags provide information about how the memory area used\n",
" | for the array is to be interpreted. There are 7 Boolean flags\n",
" | in use, only four of which can be changed by the user:\n",
" | WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED.\n",
" | \n",
" | WRITEABLE (W) the data area can be written to;\n",
" | \n",
" | ALIGNED (A) the data and strides are aligned appropriately for the hardware\n",
" | (as determined by the compiler);\n",
" | \n",
" | UPDATEIFCOPY (U) (deprecated), replaced by WRITEBACKIFCOPY;\n",
" | \n",
" | WRITEBACKIFCOPY (X) this array is a copy of some other array (referenced\n",
" | by .base). When the C-API function PyArray_ResolveWritebackIfCopy is\n",
" | called, the base array will be updated with the contents of this array.\n",
" | \n",
" | All flags can be accessed using the single (upper case) letter as well\n",
" | as the full name.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.array([[3, 1, 7],\n",
" | ... [2, 0, 0],\n",
" | ... [8, 5, 9]])\n",
" | >>> y\n",
" | array([[3, 1, 7],\n",
" | [2, 0, 0],\n",
" | [8, 5, 9]])\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : True\n",
" | ALIGNED : True\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(write=0, align=0)\n",
" | >>> y.flags\n",
" | C_CONTIGUOUS : True\n",
" | F_CONTIGUOUS : False\n",
" | OWNDATA : True\n",
" | WRITEABLE : False\n",
" | ALIGNED : False\n",
" | WRITEBACKIFCOPY : False\n",
" | UPDATEIFCOPY : False\n",
" | >>> y.setflags(uic=1)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: cannot set WRITEBACKIFCOPY flag to True\n",
" | \n",
" | sort(...)\n",
" | a.sort(axis=-1, kind=None, order=None)\n",
" | \n",
" | Sort an array in-place. Refer to `numpy.sort` for full documentation.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axis : int, optional\n",
" | Axis along which to sort. Default is -1, which means sort along the\n",
" | last axis.\n",
" | kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, optional\n",
" | Sorting algorithm. The default is 'quicksort'. Note that both 'stable'\n",
" | and 'mergesort' use timsort under the covers and, in general, the\n",
" | actual implementation will vary with datatype. The 'mergesort' option\n",
" | is retained for backwards compatibility.\n",
" | \n",
" | .. versionchanged:: 1.15.0.\n",
" | The 'stable' option was added.\n",
" | \n",
" | order : str or list of str, optional\n",
" | When `a` is an array with fields defined, this argument specifies\n",
" | which fields to compare first, second, etc. A single field can\n",
" | be specified as a string, and not all fields need be specified,\n",
" | but unspecified fields will still be used, in the order in which\n",
" | they come up in the dtype, to break ties.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.sort : Return a sorted copy of an array.\n",
" | numpy.argsort : Indirect sort.\n",
" | numpy.lexsort : Indirect stable sort on multiple keys.\n",
" | numpy.searchsorted : Find elements in sorted array.\n",
" | numpy.partition: Partial sort.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | See `numpy.sort` for notes on the different sorting algorithms.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1,4], [3,1]])\n",
" | >>> a.sort(axis=1)\n",
" | >>> a\n",
" | array([[1, 4],\n",
" | [1, 3]])\n",
" | >>> a.sort(axis=0)\n",
" | >>> a\n",
" | array([[1, 3],\n",
" | [1, 4]])\n",
" | \n",
" | Use the `order` keyword to specify a field to use when sorting a\n",
" | structured array:\n",
" | \n",
" | >>> a = np.array([('a', 2), ('c', 1)], dtype=[('x', 'S1'), ('y', int)])\n",
" | >>> a.sort(order='y')\n",
" | >>> a\n",
" | array([(b'c', 1), (b'a', 2)],\n",
" | dtype=[('x', 'S1'), ('y', '>> x = np.array([[0, 1], [2, 3]], dtype='>> x.tobytes()\n",
" | b'\\x00\\x00\\x01\\x00\\x02\\x00\\x03\\x00'\n",
" | >>> x.tobytes('C') == x.tobytes()\n",
" | True\n",
" | >>> x.tobytes('F')\n",
" | b'\\x00\\x00\\x02\\x00\\x01\\x00\\x03\\x00'\n",
" | \n",
" | tofile(...)\n",
" | a.tofile(fid, sep=\"\", format=\"%s\")\n",
" | \n",
" | Write array to a file as text or binary (default).\n",
" | \n",
" | Data is always written in 'C' order, independent of the order of `a`.\n",
" | The data produced by this method can be recovered using the function\n",
" | fromfile().\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | fid : file or str or Path\n",
" | An open file object, or a string containing a filename.\n",
" | \n",
" | .. versionchanged:: 1.17.0\n",
" | `pathlib.Path` objects are now accepted.\n",
" | \n",
" | sep : str\n",
" | Separator between array items for text output.\n",
" | If \"\" (empty), a binary file is written, equivalent to\n",
" | ``file.write(a.tobytes())``.\n",
" | format : str\n",
" | Format string for text file output.\n",
" | Each entry in the array is formatted to text by first converting\n",
" | it to the closest Python type, and then using \"format\" % item.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | This is a convenience function for quick storage of array data.\n",
" | Information on endianness and precision is lost, so this method is not a\n",
" | good choice for files intended to archive data or transport data between\n",
" | machines with different endianness. Some of these problems can be overcome\n",
" | by outputting the data as text files, at the expense of speed and file\n",
" | size.\n",
" | \n",
" | When fid is a file object, array contents are directly written to the\n",
" | file, bypassing the file object's ``write`` method. As a result, tofile\n",
" | cannot be used with files objects supporting compression (e.g., GzipFile)\n",
" | or file-like objects that do not support ``fileno()`` (e.g., BytesIO).\n",
" | \n",
" | tolist(...)\n",
" | a.tolist()\n",
" | \n",
" | Return the array as an ``a.ndim``-levels deep nested list of Python scalars.\n",
" | \n",
" | Return a copy of the array data as a (nested) Python list.\n",
" | Data items are converted to the nearest compatible builtin Python type, via\n",
" | the `~numpy.ndarray.item` function.\n",
" | \n",
" | If ``a.ndim`` is 0, then since the depth of the nested list is 0, it will\n",
" | not be a list at all, but a simple Python scalar.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | none\n",
" | \n",
" | Returns\n",
" | -------\n",
" | y : object, or list of object, or list of list of object, or ...\n",
" | The possibly nested list of array elements.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The array may be recreated via ``a = np.array(a.tolist())``, although this\n",
" | may sometimes lose precision.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | For a 1D array, ``a.tolist()`` is almost the same as ``list(a)``,\n",
" | except that ``tolist`` changes numpy scalars to Python scalars:\n",
" | \n",
" | >>> a = np.uint32([1, 2])\n",
" | >>> a_list = list(a)\n",
" | >>> a_list\n",
" | [1, 2]\n",
" | >>> type(a_list[0])\n",
" | \n",
" | >>> a_tolist = a.tolist()\n",
" | >>> a_tolist\n",
" | [1, 2]\n",
" | >>> type(a_tolist[0])\n",
" | \n",
" | \n",
" | Additionally, for a 2D array, ``tolist`` applies recursively:\n",
" | \n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> list(a)\n",
" | [array([1, 2]), array([3, 4])]\n",
" | >>> a.tolist()\n",
" | [[1, 2], [3, 4]]\n",
" | \n",
" | The base case for this recursion is a 0D array:\n",
" | \n",
" | >>> a = np.array(1)\n",
" | >>> list(a)\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | TypeError: iteration over a 0-d array\n",
" | >>> a.tolist()\n",
" | 1\n",
" | \n",
" | tostring(...)\n",
" | a.tostring(order='C')\n",
" | \n",
" | A compatibility alias for `tobytes`, with exactly the same behavior.\n",
" | \n",
" | Despite its name, it returns `bytes` not `str`\\ s.\n",
" | \n",
" | .. deprecated:: 1.19.0\n",
" | \n",
" | trace(...)\n",
" | a.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None)\n",
" | \n",
" | Return the sum along diagonals of the array.\n",
" | \n",
" | Refer to `numpy.trace` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.trace : equivalent function\n",
" | \n",
" | transpose(...)\n",
" | a.transpose(*axes)\n",
" | \n",
" | Returns a view of the array with axes transposed.\n",
" | \n",
" | For a 1-D array this has no effect, as a transposed vector is simply the\n",
" | same vector. To convert a 1-D array into a 2D column vector, an additional\n",
" | dimension must be added. `np.atleast2d(a).T` achieves this, as does\n",
" | `a[:, np.newaxis]`.\n",
" | For a 2-D array, this is a standard matrix transpose.\n",
" | For an n-D array, if axes are given, their order indicates how the\n",
" | axes are permuted (see Examples). If axes are not provided and\n",
" | ``a.shape = (i[0], i[1], ... i[n-2], i[n-1])``, then\n",
" | ``a.transpose().shape = (i[n-1], i[n-2], ... i[1], i[0])``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | axes : None, tuple of ints, or `n` ints\n",
" | \n",
" | * None or no argument: reverses the order of the axes.\n",
" | \n",
" | * tuple of ints: `i` in the `j`-th place in the tuple means `a`'s\n",
" | `i`-th axis becomes `a.transpose()`'s `j`-th axis.\n",
" | \n",
" | * `n` ints: same as an n-tuple of the same ints (this form is\n",
" | intended simply as a \"convenience\" alternative to the tuple form)\n",
" | \n",
" | Returns\n",
" | -------\n",
" | out : ndarray\n",
" | View of `a`, with axes suitably permuted.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | ndarray.T : Array property returning the array transposed.\n",
" | ndarray.reshape : Give a new shape to an array without changing its data.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> a = np.array([[1, 2], [3, 4]])\n",
" | >>> a\n",
" | array([[1, 2],\n",
" | [3, 4]])\n",
" | >>> a.transpose()\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose((1, 0))\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | >>> a.transpose(1, 0)\n",
" | array([[1, 3],\n",
" | [2, 4]])\n",
" | \n",
" | var(...)\n",
" | a.var(axis=None, dtype=None, out=None, ddof=0, keepdims=False)\n",
" | \n",
" | Returns the variance of the array elements, along given axis.\n",
" | \n",
" | Refer to `numpy.var` for full documentation.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.var : equivalent function\n",
" | \n",
" | view(...)\n",
" | a.view([dtype][, type])\n",
" | \n",
" | New view of array with the same data.\n",
" | \n",
" | .. note::\n",
" | Passing None for ``dtype`` is different from omitting the parameter,\n",
" | since the former invokes ``dtype(None)`` which is an alias for\n",
" | ``dtype('float_')``.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | dtype : data-type or ndarray sub-class, optional\n",
" | Data-type descriptor of the returned view, e.g., float32 or int16.\n",
" | Omitting it results in the view having the same data-type as `a`.\n",
" | This argument can also be specified as an ndarray sub-class, which\n",
" | then specifies the type of the returned object (this is equivalent to\n",
" | setting the ``type`` parameter).\n",
" | type : Python type, optional\n",
" | Type of the returned view, e.g., ndarray or matrix. Again, omission\n",
" | of the parameter results in type preservation.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | ``a.view()`` is used two different ways:\n",
" | \n",
" | ``a.view(some_dtype)`` or ``a.view(dtype=some_dtype)`` constructs a view\n",
" | of the array's memory with a different data-type. This can cause a\n",
" | reinterpretation of the bytes of memory.\n",
" | \n",
" | ``a.view(ndarray_subclass)`` or ``a.view(type=ndarray_subclass)`` just\n",
" | returns an instance of `ndarray_subclass` that looks at the same array\n",
" | (same shape, dtype, etc.) This does not cause a reinterpretation of the\n",
" | memory.\n",
" | \n",
" | For ``a.view(some_dtype)``, if ``some_dtype`` has a different number of\n",
" | bytes per entry than the previous dtype (for example, converting a\n",
" | regular array to a structured array), then the behavior of the view\n",
" | cannot be predicted just from the superficial appearance of ``a`` (shown\n",
" | by ``print(a)``). It also depends on exactly how ``a`` is stored in\n",
" | memory. Therefore if ``a`` is C-ordered versus fortran-ordered, versus\n",
" | defined as a slice or transpose, etc., the view may give different\n",
" | results.\n",
" | \n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([(1, 2)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | \n",
" | Viewing array data using a different type and dtype:\n",
" | \n",
" | >>> y = x.view(dtype=np.int16, type=np.matrix)\n",
" | >>> y\n",
" | matrix([[513]], dtype=int16)\n",
" | >>> print(type(y))\n",
" | \n",
" | \n",
" | Creating a view on a structured array so it can be used in calculations\n",
" | \n",
" | >>> x = np.array([(1, 2),(3,4)], dtype=[('a', np.int8), ('b', np.int8)])\n",
" | >>> xv = x.view(dtype=np.int8).reshape(-1,2)\n",
" | >>> xv\n",
" | array([[1, 2],\n",
" | [3, 4]], dtype=int8)\n",
" | >>> xv.mean(0)\n",
" | array([2., 3.])\n",
" | \n",
" | Making changes to the view changes the underlying array\n",
" | \n",
" | >>> xv[0,1] = 20\n",
" | >>> x\n",
" | array([(1, 20), (3, 4)], dtype=[('a', 'i1'), ('b', 'i1')])\n",
" | \n",
" | Using a view to convert an array to a recarray:\n",
" | \n",
" | >>> z = x.view(np.recarray)\n",
" | >>> z.a\n",
" | array([1, 3], dtype=int8)\n",
" | \n",
" | Views share data:\n",
" | \n",
" | >>> x[0] = (9, 10)\n",
" | >>> z[0]\n",
" | (9, 10)\n",
" | \n",
" | Views that change the dtype size (bytes per entry) should normally be\n",
" | avoided on arrays defined by slices, transposes, fortran-ordering, etc.:\n",
" | \n",
" | >>> x = np.array([[1,2,3],[4,5,6]], dtype=np.int16)\n",
" | >>> y = x[:, 0:2]\n",
" | >>> y\n",
" | array([[1, 2],\n",
" | [4, 5]], dtype=int16)\n",
" | >>> y.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: To change to a dtype of a different size, the array must be C-contiguous\n",
" | >>> z = y.copy()\n",
" | >>> z.view(dtype=[('width', np.int16), ('length', np.int16)])\n",
" | array([[(1, 2)],\n",
" | [(4, 5)]], dtype=[('width', '>> x = np.array([[1.,2.],[3.,4.]])\n",
" | >>> x\n",
" | array([[ 1., 2.],\n",
" | [ 3., 4.]])\n",
" | >>> x.T\n",
" | array([[ 1., 3.],\n",
" | [ 2., 4.]])\n",
" | >>> x = np.array([1.,2.,3.,4.])\n",
" | >>> x\n",
" | array([ 1., 2., 3., 4.])\n",
" | >>> x.T\n",
" | array([ 1., 2., 3., 4.])\n",
" | \n",
" | See Also\n",
" | --------\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side.\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: C-struct side.\n",
" | \n",
" | base\n",
" | Base object if memory is from some other object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | The base of an array that owns its memory is None:\n",
" | \n",
" | >>> x = np.array([1,2,3,4])\n",
" | >>> x.base is None\n",
" | True\n",
" | \n",
" | Slicing creates a view, whose memory is shared with x:\n",
" | \n",
" | >>> y = x[2:]\n",
" | >>> y.base is x\n",
" | True\n",
" | \n",
" | ctypes\n",
" | An object to simplify the interaction of the array with the ctypes\n",
" | module.\n",
" | \n",
" | This attribute creates an object that makes it easier to use arrays\n",
" | when calling shared libraries with the ctypes module. The returned\n",
" | object has, among others, data, shape, and strides attributes (see\n",
" | Notes below) which themselves return ctypes objects that can be used\n",
" | as arguments to a shared library.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | c : Python object\n",
" | Possessing attributes data, shape, strides, etc.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ctypeslib\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Below are the public attributes of this object which were documented\n",
" | in \"Guide to NumPy\" (we have omitted undocumented public attributes,\n",
" | as well as documented private attributes):\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.data\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.shape\n",
" | :noindex:\n",
" | \n",
" | .. autoattribute:: numpy.core._internal._ctypes.strides\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.data_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.shape_as\n",
" | :noindex:\n",
" | \n",
" | .. automethod:: numpy.core._internal._ctypes.strides_as\n",
" | :noindex:\n",
" | \n",
" | If the ctypes module is not available, then the ctypes attribute\n",
" | of array objects still returns something useful, but ctypes objects\n",
" | are not returned and errors may be raised instead. In particular,\n",
" | the object will still have the ``as_parameter`` attribute which will\n",
" | return an integer equal to the data attribute.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> import ctypes\n",
" | >>> x = np.array([[0, 1], [2, 3]], dtype=np.int32)\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]], dtype=int32)\n",
" | >>> x.ctypes.data\n",
" | 31962608 # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32))\n",
" | <__main__.LP_c_uint object at 0x7ff2fc1fc200> # may vary\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint32)).contents\n",
" | c_uint(0)\n",
" | >>> x.ctypes.data_as(ctypes.POINTER(ctypes.c_uint64)).contents\n",
" | c_ulong(4294967296)\n",
" | >>> x.ctypes.shape\n",
" | # may vary\n",
" | >>> x.ctypes.strides\n",
" | # may vary\n",
" | \n",
" | data\n",
" | Python buffer object pointing to the start of the array's data.\n",
" | \n",
" | dtype\n",
" | Data-type of the array's elements.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | None\n",
" | \n",
" | Returns\n",
" | -------\n",
" | d : numpy dtype object\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.dtype\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x\n",
" | array([[0, 1],\n",
" | [2, 3]])\n",
" | >>> x.dtype\n",
" | dtype('int32')\n",
" | >>> type(x.dtype)\n",
" | \n",
" | \n",
" | flags\n",
" | Information about the memory layout of the array.\n",
" | \n",
" | Attributes\n",
" | ----------\n",
" | C_CONTIGUOUS (C)\n",
" | The data is in a single, C-style contiguous segment.\n",
" | F_CONTIGUOUS (F)\n",
" | The data is in a single, Fortran-style contiguous segment.\n",
" | OWNDATA (O)\n",
" | The array owns the memory it uses or borrows it from another object.\n",
" | WRITEABLE (W)\n",
" | The data area can be written to. Setting this to False locks\n",
" | the data, making it read-only. A view (slice, etc.) inherits WRITEABLE\n",
" | from its base array at creation time, but a view of a writeable\n",
" | array may be subsequently locked while the base array remains writeable.\n",
" | (The opposite is not true, in that a view of a locked array may not\n",
" | be made writeable. However, currently, locking a base object does not\n",
" | lock any views that already reference it, so under that circumstance it\n",
" | is possible to alter the contents of a locked array via a previously\n",
" | created writeable view onto it.) Attempting to change a non-writeable\n",
" | array raises a RuntimeError exception.\n",
" | ALIGNED (A)\n",
" | The data and all elements are aligned appropriately for the hardware.\n",
" | WRITEBACKIFCOPY (X)\n",
" | This array is a copy of some other array. The C-API function\n",
" | PyArray_ResolveWritebackIfCopy must be called before deallocating\n",
" | to the base array will be updated with the contents of this array.\n",
" | UPDATEIFCOPY (U)\n",
" | (Deprecated, use WRITEBACKIFCOPY) This array is a copy of some other array.\n",
" | When this array is\n",
" | deallocated, the base array will be updated with the contents of\n",
" | this array.\n",
" | FNC\n",
" | F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | FORC\n",
" | F_CONTIGUOUS or C_CONTIGUOUS (one-segment test).\n",
" | BEHAVED (B)\n",
" | ALIGNED and WRITEABLE.\n",
" | CARRAY (CA)\n",
" | BEHAVED and C_CONTIGUOUS.\n",
" | FARRAY (FA)\n",
" | BEHAVED and F_CONTIGUOUS and not C_CONTIGUOUS.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The `flags` object can be accessed dictionary-like (as in ``a.flags['WRITEABLE']``),\n",
" | or by using lowercased attribute names (as in ``a.flags.writeable``). Short flag\n",
" | names are only supported in dictionary access.\n",
" | \n",
" | Only the WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be\n",
" | changed by the user, via direct assignment to the attribute or dictionary\n",
" | entry, or by calling `ndarray.setflags`.\n",
" | \n",
" | The array flags cannot be set arbitrarily:\n",
" | \n",
" | - UPDATEIFCOPY can only be set ``False``.\n",
" | - WRITEBACKIFCOPY can only be set ``False``.\n",
" | - ALIGNED can only be set ``True`` if the data is truly aligned.\n",
" | - WRITEABLE can only be set ``True`` if the array owns its own memory\n",
" | or the ultimate owner of the memory exposes a writeable buffer\n",
" | interface or is a string.\n",
" | \n",
" | Arrays can be both C-style and Fortran-style contiguous simultaneously.\n",
" | This is clear for 1-dimensional arrays, but can also be true for higher\n",
" | dimensional arrays.\n",
" | \n",
" | Even for contiguous arrays a stride for a given dimension\n",
" | ``arr.strides[dim]`` may be *arbitrary* if ``arr.shape[dim] == 1``\n",
" | or the array has no elements.\n",
" | It does *not* generally hold that ``self.strides[-1] == self.itemsize``\n",
" | for C-style contiguous arrays or ``self.strides[0] == self.itemsize`` for\n",
" | Fortran-style contiguous arrays is true.\n",
" | \n",
" | flat\n",
" | A 1-D iterator over the array.\n",
" | \n",
" | This is a `numpy.flatiter` instance, which acts similarly to, but is not\n",
" | a subclass of, Python's built-in iterator object.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | flatten : Return a copy of the array collapsed into one dimension.\n",
" | \n",
" | flatiter\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.arange(1, 7).reshape(2, 3)\n",
" | >>> x\n",
" | array([[1, 2, 3],\n",
" | [4, 5, 6]])\n",
" | >>> x.flat[3]\n",
" | 4\n",
" | >>> x.T\n",
" | array([[1, 4],\n",
" | [2, 5],\n",
" | [3, 6]])\n",
" | >>> x.T.flat[3]\n",
" | 5\n",
" | >>> type(x.flat)\n",
" | \n",
" | \n",
" | An assignment example:\n",
" | \n",
" | >>> x.flat = 3; x\n",
" | array([[3, 3, 3],\n",
" | [3, 3, 3]])\n",
" | >>> x.flat[[1,4]] = 1; x\n",
" | array([[3, 1, 3],\n",
" | [3, 1, 3]])\n",
" | \n",
" | imag\n",
" | The imaginary part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.imag\n",
" | array([ 0. , 0.70710678])\n",
" | >>> x.imag.dtype\n",
" | dtype('float64')\n",
" | \n",
" | itemsize\n",
" | Length of one array element in bytes.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1,2,3], dtype=np.float64)\n",
" | >>> x.itemsize\n",
" | 8\n",
" | >>> x = np.array([1,2,3], dtype=np.complex128)\n",
" | >>> x.itemsize\n",
" | 16\n",
" | \n",
" | nbytes\n",
" | Total bytes consumed by the elements of the array.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Does not include memory consumed by non-element attributes of the\n",
" | array object.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3,5,2), dtype=np.complex128)\n",
" | >>> x.nbytes\n",
" | 480\n",
" | >>> np.prod(x.shape) * x.itemsize\n",
" | 480\n",
" | \n",
" | ndim\n",
" | Number of array dimensions.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3])\n",
" | >>> x.ndim\n",
" | 1\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.ndim\n",
" | 3\n",
" | \n",
" | real\n",
" | The real part of the array.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.sqrt([1+0j, 0+1j])\n",
" | >>> x.real\n",
" | array([ 1. , 0.70710678])\n",
" | >>> x.real.dtype\n",
" | dtype('float64')\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.real : equivalent function\n",
" | \n",
" | shape\n",
" | Tuple of array dimensions.\n",
" | \n",
" | The shape property is usually used to get the current shape of an array,\n",
" | but may also be used to reshape the array in-place by assigning a tuple of\n",
" | array dimensions to it. As with `numpy.reshape`, one of the new shape\n",
" | dimensions can be -1, in which case its value is inferred from the size of\n",
" | the array and the remaining dimensions. Reshaping an array in-place will\n",
" | fail if a copy is required.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.array([1, 2, 3, 4])\n",
" | >>> x.shape\n",
" | (4,)\n",
" | >>> y = np.zeros((2, 3, 4))\n",
" | >>> y.shape\n",
" | (2, 3, 4)\n",
" | >>> y.shape = (3, 8)\n",
" | >>> y\n",
" | array([[ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" | [ 0., 0., 0., 0., 0., 0., 0., 0.]])\n",
" | >>> y.shape = (3, 6)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | ValueError: total size of new array must be unchanged\n",
" | >>> np.zeros((4,2))[::2].shape = (-1,)\n",
" | Traceback (most recent call last):\n",
" | File \"\", line 1, in \n",
" | AttributeError: Incompatible shape for in-place modification. Use\n",
" | `.reshape()` to make a copy with the desired shape.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.reshape : similar function\n",
" | ndarray.reshape : similar method\n",
" | \n",
" | size\n",
" | Number of elements in the array.\n",
" | \n",
" | Equal to ``np.prod(a.shape)``, i.e., the product of the array's\n",
" | dimensions.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | `a.size` returns a standard arbitrary precision Python integer. This\n",
" | may not be the case with other methods of obtaining the same value\n",
" | (like the suggested ``np.prod(a.shape)``, which returns an instance\n",
" | of ``np.int_``), and may be relevant if the value is used further in\n",
" | calculations that may overflow a fixed size integer type.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> x = np.zeros((3, 5, 2), dtype=np.complex128)\n",
" | >>> x.size\n",
" | 30\n",
" | >>> np.prod(x.shape)\n",
" | 30\n",
" | \n",
" | strides\n",
" | Tuple of bytes to step in each dimension when traversing an array.\n",
" | \n",
" | The byte offset of element ``(i[0], i[1], ..., i[n])`` in an array `a`\n",
" | is::\n",
" | \n",
" | offset = sum(np.array(i) * a.strides)\n",
" | \n",
" | A more detailed explanation of strides can be found in the\n",
" | \"ndarray.rst\" file in the NumPy reference guide.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Imagine an array of 32-bit integers (each 4 bytes)::\n",
" | \n",
" | x = np.array([[0, 1, 2, 3, 4],\n",
" | [5, 6, 7, 8, 9]], dtype=np.int32)\n",
" | \n",
" | This array is stored in memory as 40 bytes, one after the other\n",
" | (known as a contiguous block of memory). The strides of an array tell\n",
" | us how many bytes we have to skip in memory to move to the next position\n",
" | along a certain axis. For example, we have to skip 4 bytes (1 value) to\n",
" | move to the next column, but 20 bytes (5 values) to get to the same\n",
" | position in the next row. As such, the strides for the array `x` will be\n",
" | ``(20, 4)``.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.lib.stride_tricks.as_strided\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> y = np.reshape(np.arange(2*3*4), (2,3,4))\n",
" | >>> y\n",
" | array([[[ 0, 1, 2, 3],\n",
" | [ 4, 5, 6, 7],\n",
" | [ 8, 9, 10, 11]],\n",
" | [[12, 13, 14, 15],\n",
" | [16, 17, 18, 19],\n",
" | [20, 21, 22, 23]]])\n",
" | >>> y.strides\n",
" | (48, 16, 4)\n",
" | >>> y[1,1,1]\n",
" | 17\n",
" | >>> offset=sum(y.strides * np.array((1,1,1)))\n",
" | >>> offset/y.itemsize\n",
" | 17\n",
" | \n",
" | >>> x = np.reshape(np.arange(5*6*7*8), (5,6,7,8)).transpose(2,3,1,0)\n",
" | >>> x.strides\n",
" | (32, 4, 224, 1344)\n",
" | >>> i = np.array([3,5,2,2])\n",
" | >>> offset = sum(i * x.strides)\n",
" | >>> x[3,5,2,2]\n",
" | 813\n",
" | >>> offset / x.itemsize\n",
" | 813\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from ndarray:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" class record(void)\n",
" | A data-type scalar that allows field access as attribute lookup.\n",
" | \n",
" | Method resolution order:\n",
" | record\n",
" | void\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __getattribute__(self, attr)\n",
" | Return getattr(self, name).\n",
" | \n",
" | __getitem__(self, indx)\n",
" | Return self[key].\n",
" | \n",
" | __repr__(self)\n",
" | Return repr(self).\n",
" | \n",
" | __setattr__(self, attr, val)\n",
" | Implement setattr(self, name, value).\n",
" | \n",
" | __str__(self)\n",
" | Return str(self).\n",
" | \n",
" | pprint(self)\n",
" | Pretty-print all fields.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from void:\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" short = class int16(signedinteger)\n",
" | Signed integer type, compatible with C ``short``.\n",
" | Character code: ``'h'``.\n",
" | Canonical name: ``np.short``.\n",
" | Alias *on this platform*: ``np.int16``: 16-bit signed integer (-32768 to 32767).\n",
" | \n",
" | Method resolution order:\n",
" | int16\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class signedinteger(integer)\n",
" | Abstract base class of all signed integer scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" single = class float32(floating)\n",
" | Single-precision floating-point number type, compatible with C ``float``.\n",
" | Character code: ``'f'``.\n",
" | Canonical name: ``np.single``.\n",
" | Alias *on this platform*: ``np.float32``: 32-bit-precision floating-point number type: sign bit, 8 bits exponent, 23 bits mantissa.\n",
" | \n",
" | Method resolution order:\n",
" | float32\n",
" | floating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self (int, int)\n",
" | \n",
" | Return a pair of integers, whose ratio is exactly equal to the original\n",
" | floating point number, and with a positive denominator.\n",
" | Raise OverflowError on infinities and a ValueError on NaNs.\n",
" | \n",
" | >>> np.single(10.0).as_integer_ratio()\n",
" | (10, 1)\n",
" | >>> np.single(0.0).as_integer_ratio()\n",
" | (0, 1)\n",
" | >>> np.single(-.25).as_integer_ratio()\n",
" | (-1, 4)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from floating:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" singlecomplex = class complex64(complexfloating)\n",
" | Complex number type composed of two single-precision floating-point\n",
" | numbers.\n",
" | Character code: ``'F'``.\n",
" | Canonical name: ``np.csingle``.\n",
" | Alias: ``np.singlecomplex``.\n",
" | Alias *on this platform*: ``np.complex64``: Complex number type composed of 2 32-bit-precision floating-point numbers.\n",
" | \n",
" | Method resolution order:\n",
" | complex64\n",
" | complexfloating\n",
" | inexact\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __complex__(...)\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" str0 = class str_(builtins.str, character)\n",
" | str(object='') -> str\n",
" | str(bytes_or_buffer[, encoding[, errors]]) -> str\n",
" | \n",
" | Create a new string object from the given object. If encoding or\n",
" | errors is specified, then the object must expose a data buffer\n",
" | that will be decoded using the given encoding and error handler.\n",
" | Otherwise, returns the result of object.__str__() (if defined)\n",
" | or repr(object).\n",
" | encoding defaults to sys.getdefaultencoding().\n",
" | errors defaults to 'strict'.\n",
" | \n",
" | Method resolution order:\n",
" | str_\n",
" | builtins.str\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self int\n",
" | \n",
" | Return the number of non-overlapping occurrences of substring sub in\n",
" | string S[start:end]. Optional arguments start and end are\n",
" | interpreted as in slice notation.\n",
" | \n",
" | encode(self, /, encoding='utf-8', errors='strict')\n",
" | Encode the string using the codec registered for encoding.\n",
" | \n",
" | encoding\n",
" | The encoding in which to encode the string.\n",
" | errors\n",
" | The error handling scheme to use for encoding errors.\n",
" | The default is 'strict' meaning that encoding errors raise a\n",
" | UnicodeEncodeError. Other possible values are 'ignore', 'replace' and\n",
" | 'xmlcharrefreplace' as well as any other name registered with\n",
" | codecs.register_error that can handle UnicodeEncodeErrors.\n",
" | \n",
" | endswith(...)\n",
" | S.endswith(suffix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if S ends with the specified suffix, False otherwise.\n",
" | With optional start, test S beginning at that position.\n",
" | With optional end, stop comparing S at that position.\n",
" | suffix can also be a tuple of strings to try.\n",
" | \n",
" | expandtabs(self, /, tabsize=8)\n",
" | Return a copy where all tab characters are expanded using spaces.\n",
" | \n",
" | If tabsize is not given, a tab size of 8 characters is assumed.\n",
" | \n",
" | find(...)\n",
" | S.find(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | format(...)\n",
" | S.format(*args, **kwargs) -> str\n",
" | \n",
" | Return a formatted version of S, using substitutions from args and kwargs.\n",
" | The substitutions are identified by braces ('{' and '}').\n",
" | \n",
" | format_map(...)\n",
" | S.format_map(mapping) -> str\n",
" | \n",
" | Return a formatted version of S, using substitutions from mapping.\n",
" | The substitutions are identified by braces ('{' and '}').\n",
" | \n",
" | index(...)\n",
" | S.index(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the substring is not found.\n",
" | \n",
" | isalnum(self, /)\n",
" | Return True if the string is an alpha-numeric string, False otherwise.\n",
" | \n",
" | A string is alpha-numeric if all characters in the string are alpha-numeric and\n",
" | there is at least one character in the string.\n",
" | \n",
" | isalpha(self, /)\n",
" | Return True if the string is an alphabetic string, False otherwise.\n",
" | \n",
" | A string is alphabetic if all characters in the string are alphabetic and there\n",
" | is at least one character in the string.\n",
" | \n",
" | isascii(self, /)\n",
" | Return True if all characters in the string are ASCII, False otherwise.\n",
" | \n",
" | ASCII characters have code points in the range U+0000-U+007F.\n",
" | Empty string is ASCII too.\n",
" | \n",
" | isdecimal(self, /)\n",
" | Return True if the string is a decimal string, False otherwise.\n",
" | \n",
" | A string is a decimal string if all characters in the string are decimal and\n",
" | there is at least one character in the string.\n",
" | \n",
" | isdigit(self, /)\n",
" | Return True if the string is a digit string, False otherwise.\n",
" | \n",
" | A string is a digit string if all characters in the string are digits and there\n",
" | is at least one character in the string.\n",
" | \n",
" | isidentifier(self, /)\n",
" | Return True if the string is a valid Python identifier, False otherwise.\n",
" | \n",
" | Call keyword.iskeyword(s) to test whether string s is a reserved identifier,\n",
" | such as \"def\" or \"class\".\n",
" | \n",
" | islower(self, /)\n",
" | Return True if the string is a lowercase string, False otherwise.\n",
" | \n",
" | A string is lowercase if all cased characters in the string are lowercase and\n",
" | there is at least one cased character in the string.\n",
" | \n",
" | isnumeric(self, /)\n",
" | Return True if the string is a numeric string, False otherwise.\n",
" | \n",
" | A string is numeric if all characters in the string are numeric and there is at\n",
" | least one character in the string.\n",
" | \n",
" | isprintable(self, /)\n",
" | Return True if the string is printable, False otherwise.\n",
" | \n",
" | A string is printable if all of its characters are considered printable in\n",
" | repr() or if it is empty.\n",
" | \n",
" | isspace(self, /)\n",
" | Return True if the string is a whitespace string, False otherwise.\n",
" | \n",
" | A string is whitespace if all characters in the string are whitespace and there\n",
" | is at least one character in the string.\n",
" | \n",
" | istitle(self, /)\n",
" | Return True if the string is a title-cased string, False otherwise.\n",
" | \n",
" | In a title-cased string, upper- and title-case characters may only\n",
" | follow uncased characters and lowercase characters only cased ones.\n",
" | \n",
" | isupper(self, /)\n",
" | Return True if the string is an uppercase string, False otherwise.\n",
" | \n",
" | A string is uppercase if all cased characters in the string are uppercase and\n",
" | there is at least one cased character in the string.\n",
" | \n",
" | join(self, iterable, /)\n",
" | Concatenate any number of strings.\n",
" | \n",
" | The string whose method is called is inserted in between each given string.\n",
" | The result is returned as a new string.\n",
" | \n",
" | Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'\n",
" | \n",
" | ljust(self, width, fillchar=' ', /)\n",
" | Return a left-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character (default is a space).\n",
" | \n",
" | lower(self, /)\n",
" | Return a copy of the string converted to lowercase.\n",
" | \n",
" | lstrip(self, chars=None, /)\n",
" | Return a copy of the string with leading whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | partition(self, sep, /)\n",
" | Partition the string into three parts using the given separator.\n",
" | \n",
" | This will search for the separator in the string. If the separator is found,\n",
" | returns a 3-tuple containing the part before the separator, the separator\n",
" | itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing the original string\n",
" | and two empty strings.\n",
" | \n",
" | replace(self, old, new, count=-1, /)\n",
" | Return a copy with all occurrences of substring old replaced by new.\n",
" | \n",
" | count\n",
" | Maximum number of occurrences to replace.\n",
" | -1 (the default value) means replace all occurrences.\n",
" | \n",
" | If the optional argument count is given, only the first count occurrences are\n",
" | replaced.\n",
" | \n",
" | rfind(...)\n",
" | S.rfind(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | rindex(...)\n",
" | S.rindex(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the substring is not found.\n",
" | \n",
" | rjust(self, width, fillchar=' ', /)\n",
" | Return a right-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character (default is a space).\n",
" | \n",
" | rpartition(self, sep, /)\n",
" | Partition the string into three parts using the given separator.\n",
" | \n",
" | This will search for the separator in the string, starting at the end. If\n",
" | the separator is found, returns a 3-tuple containing the part before the\n",
" | separator, the separator itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing two empty strings\n",
" | and the original string.\n",
" | \n",
" | rsplit(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the words in the string, using sep as the delimiter string.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the string.\n",
" | None (the default value) means split according to any whitespace,\n",
" | and discard empty strings from the result.\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | Splits are done starting at the end of the string and working to the front.\n",
" | \n",
" | rstrip(self, chars=None, /)\n",
" | Return a copy of the string with trailing whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | split(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the words in the string, using sep as the delimiter string.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the string.\n",
" | None (the default value) means split according to any whitespace,\n",
" | and discard empty strings from the result.\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | splitlines(self, /, keepends=False)\n",
" | Return a list of the lines in the string, breaking at line boundaries.\n",
" | \n",
" | Line breaks are not included in the resulting list unless keepends is given and\n",
" | true.\n",
" | \n",
" | startswith(...)\n",
" | S.startswith(prefix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if S starts with the specified prefix, False otherwise.\n",
" | With optional start, test S beginning at that position.\n",
" | With optional end, stop comparing S at that position.\n",
" | prefix can also be a tuple of strings to try.\n",
" | \n",
" | strip(self, chars=None, /)\n",
" | Return a copy of the string with leading and trailing whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | swapcase(self, /)\n",
" | Convert uppercase characters to lowercase and lowercase characters to uppercase.\n",
" | \n",
" | title(self, /)\n",
" | Return a version of the string where each word is titlecased.\n",
" | \n",
" | More specifically, words start with uppercased characters and all remaining\n",
" | cased characters have lower case.\n",
" | \n",
" | translate(self, table, /)\n",
" | Replace each character in the string using the given translation table.\n",
" | \n",
" | table\n",
" | Translation table, which must be a mapping of Unicode ordinals to\n",
" | Unicode ordinals, strings, or None.\n",
" | \n",
" | The table must implement lookup/indexing via __getitem__, for instance a\n",
" | dictionary or list. If this operation raises LookupError, the character is\n",
" | left untouched. Characters mapped to None are deleted.\n",
" | \n",
" | upper(self, /)\n",
" | Return a copy of the string converted to uppercase.\n",
" | \n",
" | zfill(self, width, /)\n",
" | Pad a numeric string with zeros on the left, to fill a field of the given width.\n",
" | \n",
" | The string is never truncated.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.str:\n",
" | \n",
" | maketrans(...)\n",
" | Return a translation table usable for str.translate().\n",
" | \n",
" | If there is only one argument, it must be a dictionary mapping Unicode\n",
" | ordinals (integers) or characters to Unicode ordinals, strings or None.\n",
" | Character keys will be then converted to ordinals.\n",
" | If there are two arguments, they must be strings of equal length, and\n",
" | in the resulting dictionary, each character in x will be mapped to the\n",
" | character at the same position in y. If there is a third argument, it\n",
" | must be a string, whose characters will be mapped to None in the result.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class str_(builtins.str, character)\n",
" | str(object='') -> str\n",
" | str(bytes_or_buffer[, encoding[, errors]]) -> str\n",
" | \n",
" | Create a new string object from the given object. If encoding or\n",
" | errors is specified, then the object must expose a data buffer\n",
" | that will be decoded using the given encoding and error handler.\n",
" | Otherwise, returns the result of object.__str__() (if defined)\n",
" | or repr(object).\n",
" | encoding defaults to sys.getdefaultencoding().\n",
" | errors defaults to 'strict'.\n",
" | \n",
" | Method resolution order:\n",
" | str_\n",
" | builtins.str\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self int\n",
" | \n",
" | Return the number of non-overlapping occurrences of substring sub in\n",
" | string S[start:end]. Optional arguments start and end are\n",
" | interpreted as in slice notation.\n",
" | \n",
" | encode(self, /, encoding='utf-8', errors='strict')\n",
" | Encode the string using the codec registered for encoding.\n",
" | \n",
" | encoding\n",
" | The encoding in which to encode the string.\n",
" | errors\n",
" | The error handling scheme to use for encoding errors.\n",
" | The default is 'strict' meaning that encoding errors raise a\n",
" | UnicodeEncodeError. Other possible values are 'ignore', 'replace' and\n",
" | 'xmlcharrefreplace' as well as any other name registered with\n",
" | codecs.register_error that can handle UnicodeEncodeErrors.\n",
" | \n",
" | endswith(...)\n",
" | S.endswith(suffix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if S ends with the specified suffix, False otherwise.\n",
" | With optional start, test S beginning at that position.\n",
" | With optional end, stop comparing S at that position.\n",
" | suffix can also be a tuple of strings to try.\n",
" | \n",
" | expandtabs(self, /, tabsize=8)\n",
" | Return a copy where all tab characters are expanded using spaces.\n",
" | \n",
" | If tabsize is not given, a tab size of 8 characters is assumed.\n",
" | \n",
" | find(...)\n",
" | S.find(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | format(...)\n",
" | S.format(*args, **kwargs) -> str\n",
" | \n",
" | Return a formatted version of S, using substitutions from args and kwargs.\n",
" | The substitutions are identified by braces ('{' and '}').\n",
" | \n",
" | format_map(...)\n",
" | S.format_map(mapping) -> str\n",
" | \n",
" | Return a formatted version of S, using substitutions from mapping.\n",
" | The substitutions are identified by braces ('{' and '}').\n",
" | \n",
" | index(...)\n",
" | S.index(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the substring is not found.\n",
" | \n",
" | isalnum(self, /)\n",
" | Return True if the string is an alpha-numeric string, False otherwise.\n",
" | \n",
" | A string is alpha-numeric if all characters in the string are alpha-numeric and\n",
" | there is at least one character in the string.\n",
" | \n",
" | isalpha(self, /)\n",
" | Return True if the string is an alphabetic string, False otherwise.\n",
" | \n",
" | A string is alphabetic if all characters in the string are alphabetic and there\n",
" | is at least one character in the string.\n",
" | \n",
" | isascii(self, /)\n",
" | Return True if all characters in the string are ASCII, False otherwise.\n",
" | \n",
" | ASCII characters have code points in the range U+0000-U+007F.\n",
" | Empty string is ASCII too.\n",
" | \n",
" | isdecimal(self, /)\n",
" | Return True if the string is a decimal string, False otherwise.\n",
" | \n",
" | A string is a decimal string if all characters in the string are decimal and\n",
" | there is at least one character in the string.\n",
" | \n",
" | isdigit(self, /)\n",
" | Return True if the string is a digit string, False otherwise.\n",
" | \n",
" | A string is a digit string if all characters in the string are digits and there\n",
" | is at least one character in the string.\n",
" | \n",
" | isidentifier(self, /)\n",
" | Return True if the string is a valid Python identifier, False otherwise.\n",
" | \n",
" | Call keyword.iskeyword(s) to test whether string s is a reserved identifier,\n",
" | such as \"def\" or \"class\".\n",
" | \n",
" | islower(self, /)\n",
" | Return True if the string is a lowercase string, False otherwise.\n",
" | \n",
" | A string is lowercase if all cased characters in the string are lowercase and\n",
" | there is at least one cased character in the string.\n",
" | \n",
" | isnumeric(self, /)\n",
" | Return True if the string is a numeric string, False otherwise.\n",
" | \n",
" | A string is numeric if all characters in the string are numeric and there is at\n",
" | least one character in the string.\n",
" | \n",
" | isprintable(self, /)\n",
" | Return True if the string is printable, False otherwise.\n",
" | \n",
" | A string is printable if all of its characters are considered printable in\n",
" | repr() or if it is empty.\n",
" | \n",
" | isspace(self, /)\n",
" | Return True if the string is a whitespace string, False otherwise.\n",
" | \n",
" | A string is whitespace if all characters in the string are whitespace and there\n",
" | is at least one character in the string.\n",
" | \n",
" | istitle(self, /)\n",
" | Return True if the string is a title-cased string, False otherwise.\n",
" | \n",
" | In a title-cased string, upper- and title-case characters may only\n",
" | follow uncased characters and lowercase characters only cased ones.\n",
" | \n",
" | isupper(self, /)\n",
" | Return True if the string is an uppercase string, False otherwise.\n",
" | \n",
" | A string is uppercase if all cased characters in the string are uppercase and\n",
" | there is at least one cased character in the string.\n",
" | \n",
" | join(self, iterable, /)\n",
" | Concatenate any number of strings.\n",
" | \n",
" | The string whose method is called is inserted in between each given string.\n",
" | The result is returned as a new string.\n",
" | \n",
" | Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'\n",
" | \n",
" | ljust(self, width, fillchar=' ', /)\n",
" | Return a left-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character (default is a space).\n",
" | \n",
" | lower(self, /)\n",
" | Return a copy of the string converted to lowercase.\n",
" | \n",
" | lstrip(self, chars=None, /)\n",
" | Return a copy of the string with leading whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | partition(self, sep, /)\n",
" | Partition the string into three parts using the given separator.\n",
" | \n",
" | This will search for the separator in the string. If the separator is found,\n",
" | returns a 3-tuple containing the part before the separator, the separator\n",
" | itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing the original string\n",
" | and two empty strings.\n",
" | \n",
" | replace(self, old, new, count=-1, /)\n",
" | Return a copy with all occurrences of substring old replaced by new.\n",
" | \n",
" | count\n",
" | Maximum number of occurrences to replace.\n",
" | -1 (the default value) means replace all occurrences.\n",
" | \n",
" | If the optional argument count is given, only the first count occurrences are\n",
" | replaced.\n",
" | \n",
" | rfind(...)\n",
" | S.rfind(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | rindex(...)\n",
" | S.rindex(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the substring is not found.\n",
" | \n",
" | rjust(self, width, fillchar=' ', /)\n",
" | Return a right-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character (default is a space).\n",
" | \n",
" | rpartition(self, sep, /)\n",
" | Partition the string into three parts using the given separator.\n",
" | \n",
" | This will search for the separator in the string, starting at the end. If\n",
" | the separator is found, returns a 3-tuple containing the part before the\n",
" | separator, the separator itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing two empty strings\n",
" | and the original string.\n",
" | \n",
" | rsplit(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the words in the string, using sep as the delimiter string.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the string.\n",
" | None (the default value) means split according to any whitespace,\n",
" | and discard empty strings from the result.\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | Splits are done starting at the end of the string and working to the front.\n",
" | \n",
" | rstrip(self, chars=None, /)\n",
" | Return a copy of the string with trailing whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | split(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the words in the string, using sep as the delimiter string.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the string.\n",
" | None (the default value) means split according to any whitespace,\n",
" | and discard empty strings from the result.\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | splitlines(self, /, keepends=False)\n",
" | Return a list of the lines in the string, breaking at line boundaries.\n",
" | \n",
" | Line breaks are not included in the resulting list unless keepends is given and\n",
" | true.\n",
" | \n",
" | startswith(...)\n",
" | S.startswith(prefix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if S starts with the specified prefix, False otherwise.\n",
" | With optional start, test S beginning at that position.\n",
" | With optional end, stop comparing S at that position.\n",
" | prefix can also be a tuple of strings to try.\n",
" | \n",
" | strip(self, chars=None, /)\n",
" | Return a copy of the string with leading and trailing whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | swapcase(self, /)\n",
" | Convert uppercase characters to lowercase and lowercase characters to uppercase.\n",
" | \n",
" | title(self, /)\n",
" | Return a version of the string where each word is titlecased.\n",
" | \n",
" | More specifically, words start with uppercased characters and all remaining\n",
" | cased characters have lower case.\n",
" | \n",
" | translate(self, table, /)\n",
" | Replace each character in the string using the given translation table.\n",
" | \n",
" | table\n",
" | Translation table, which must be a mapping of Unicode ordinals to\n",
" | Unicode ordinals, strings, or None.\n",
" | \n",
" | The table must implement lookup/indexing via __getitem__, for instance a\n",
" | dictionary or list. If this operation raises LookupError, the character is\n",
" | left untouched. Characters mapped to None are deleted.\n",
" | \n",
" | upper(self, /)\n",
" | Return a copy of the string converted to uppercase.\n",
" | \n",
" | zfill(self, width, /)\n",
" | Pad a numeric string with zeros on the left, to fill a field of the given width.\n",
" | \n",
" | The string is never truncated.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.str:\n",
" | \n",
" | maketrans(...)\n",
" | Return a translation table usable for str.translate().\n",
" | \n",
" | If there is only one argument, it must be a dictionary mapping Unicode\n",
" | ordinals (integers) or characters to Unicode ordinals, strings or None.\n",
" | Character keys will be then converted to ordinals.\n",
" | If there are two arguments, they must be strings of equal length, and\n",
" | in the resulting dictionary, each character in x will be mapped to the\n",
" | character at the same position in y. If there is a third argument, it\n",
" | must be a string, whose characters will be mapped to None in the result.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" string_ = class bytes_(builtins.bytes, character)\n",
" | bytes(iterable_of_ints) -> bytes\n",
" | bytes(string, encoding[, errors]) -> bytes\n",
" | bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer\n",
" | bytes(int) -> bytes object of size given by the parameter initialized with null bytes\n",
" | bytes() -> empty bytes object\n",
" | \n",
" | Construct an immutable array of bytes from:\n",
" | - an iterable yielding integers in range(256)\n",
" | - a text string encoded using the specified encoding\n",
" | - any object implementing the buffer API.\n",
" | - an integer\n",
" | \n",
" | Method resolution order:\n",
" | bytes_\n",
" | builtins.bytes\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self copy of B\n",
" | \n",
" | Return a copy of B with only its first character capitalized (ASCII)\n",
" | and the rest lower-cased.\n",
" | \n",
" | center(self, width, fillchar=b' ', /)\n",
" | Return a centered string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | count(...)\n",
" | B.count(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the number of non-overlapping occurrences of subsection sub in\n",
" | bytes B[start:end]. Optional arguments start and end are interpreted\n",
" | as in slice notation.\n",
" | \n",
" | decode(self, /, encoding='utf-8', errors='strict')\n",
" | Decode the bytes using the codec registered for encoding.\n",
" | \n",
" | encoding\n",
" | The encoding with which to decode the bytes.\n",
" | errors\n",
" | The error handling scheme to use for the handling of decoding errors.\n",
" | The default is 'strict' meaning that decoding errors raise a\n",
" | UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n",
" | as well as any other name registered with codecs.register_error that\n",
" | can handle UnicodeDecodeErrors.\n",
" | \n",
" | endswith(...)\n",
" | B.endswith(suffix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if B ends with the specified suffix, False otherwise.\n",
" | With optional start, test B beginning at that position.\n",
" | With optional end, stop comparing B at that position.\n",
" | suffix can also be a tuple of bytes to try.\n",
" | \n",
" | expandtabs(self, /, tabsize=8)\n",
" | Return a copy where all tab characters are expanded using spaces.\n",
" | \n",
" | If tabsize is not given, a tab size of 8 characters is assumed.\n",
" | \n",
" | find(...)\n",
" | B.find(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | hex(...)\n",
" | Create a str of hexadecimal numbers from a bytes object.\n",
" | \n",
" | sep\n",
" | An optional single character or byte to separate hex bytes.\n",
" | bytes_per_sep\n",
" | How many bytes between separators. Positive values count from the\n",
" | right, negative values count from the left.\n",
" | \n",
" | Example:\n",
" | >>> value = b'\\xb9\\x01\\xef'\n",
" | >>> value.hex()\n",
" | 'b901ef'\n",
" | >>> value.hex(':')\n",
" | 'b9:01:ef'\n",
" | >>> value.hex(':', 2)\n",
" | 'b9:01ef'\n",
" | >>> value.hex(':', -2)\n",
" | 'b901:ef'\n",
" | \n",
" | index(...)\n",
" | B.index(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the subsection is not found.\n",
" | \n",
" | isalnum(...)\n",
" | B.isalnum() -> bool\n",
" | \n",
" | Return True if all characters in B are alphanumeric\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | isalpha(...)\n",
" | B.isalpha() -> bool\n",
" | \n",
" | Return True if all characters in B are alphabetic\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | isascii(...)\n",
" | B.isascii() -> bool\n",
" | \n",
" | Return True if B is empty or all characters in B are ASCII,\n",
" | False otherwise.\n",
" | \n",
" | isdigit(...)\n",
" | B.isdigit() -> bool\n",
" | \n",
" | Return True if all characters in B are digits\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | islower(...)\n",
" | B.islower() -> bool\n",
" | \n",
" | Return True if all cased characters in B are lowercase and there is\n",
" | at least one cased character in B, False otherwise.\n",
" | \n",
" | isspace(...)\n",
" | B.isspace() -> bool\n",
" | \n",
" | Return True if all characters in B are whitespace\n",
" | and there is at least one character in B, False otherwise.\n",
" | \n",
" | istitle(...)\n",
" | B.istitle() -> bool\n",
" | \n",
" | Return True if B is a titlecased string and there is at least one\n",
" | character in B, i.e. uppercase characters may only follow uncased\n",
" | characters and lowercase characters only cased ones. Return False\n",
" | otherwise.\n",
" | \n",
" | isupper(...)\n",
" | B.isupper() -> bool\n",
" | \n",
" | Return True if all cased characters in B are uppercase and there is\n",
" | at least one cased character in B, False otherwise.\n",
" | \n",
" | join(self, iterable_of_bytes, /)\n",
" | Concatenate any number of bytes objects.\n",
" | \n",
" | The bytes whose method is called is inserted in between each pair.\n",
" | \n",
" | The result is returned as a new bytes object.\n",
" | \n",
" | Example: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.\n",
" | \n",
" | ljust(self, width, fillchar=b' ', /)\n",
" | Return a left-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | lower(...)\n",
" | B.lower() -> copy of B\n",
" | \n",
" | Return a copy of B with all ASCII characters converted to lowercase.\n",
" | \n",
" | lstrip(self, bytes=None, /)\n",
" | Strip leading bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip leading ASCII whitespace.\n",
" | \n",
" | partition(self, sep, /)\n",
" | Partition the bytes into three parts using the given separator.\n",
" | \n",
" | This will search for the separator sep in the bytes. If the separator is found,\n",
" | returns a 3-tuple containing the part before the separator, the separator\n",
" | itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing the original bytes\n",
" | object and two empty bytes objects.\n",
" | \n",
" | replace(self, old, new, count=-1, /)\n",
" | Return a copy with all occurrences of substring old replaced by new.\n",
" | \n",
" | count\n",
" | Maximum number of occurrences to replace.\n",
" | -1 (the default value) means replace all occurrences.\n",
" | \n",
" | If the optional argument count is given, only the first count occurrences are\n",
" | replaced.\n",
" | \n",
" | rfind(...)\n",
" | B.rfind(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | rindex(...)\n",
" | B.rindex(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in B where subsection sub is found,\n",
" | such that sub is contained within B[start,end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raise ValueError when the subsection is not found.\n",
" | \n",
" | rjust(self, width, fillchar=b' ', /)\n",
" | Return a right-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character.\n",
" | \n",
" | rpartition(self, sep, /)\n",
" | Partition the bytes into three parts using the given separator.\n",
" | \n",
" | This will search for the separator sep in the bytes, starting at the end. If\n",
" | the separator is found, returns a 3-tuple containing the part before the\n",
" | separator, the separator itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing two empty bytes\n",
" | objects and the original bytes object.\n",
" | \n",
" | rsplit(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the sections in the bytes, using sep as the delimiter.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the bytes.\n",
" | None (the default value) means split on ASCII whitespace characters\n",
" | (space, tab, return, newline, formfeed, vertical tab).\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | Splitting is done starting at the end of the bytes and working to the front.\n",
" | \n",
" | rstrip(self, bytes=None, /)\n",
" | Strip trailing bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip trailing ASCII whitespace.\n",
" | \n",
" | split(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the sections in the bytes, using sep as the delimiter.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the bytes.\n",
" | None (the default value) means split on ASCII whitespace characters\n",
" | (space, tab, return, newline, formfeed, vertical tab).\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | splitlines(self, /, keepends=False)\n",
" | Return a list of the lines in the bytes, breaking at line boundaries.\n",
" | \n",
" | Line breaks are not included in the resulting list unless keepends is given and\n",
" | true.\n",
" | \n",
" | startswith(...)\n",
" | B.startswith(prefix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if B starts with the specified prefix, False otherwise.\n",
" | With optional start, test B beginning at that position.\n",
" | With optional end, stop comparing B at that position.\n",
" | prefix can also be a tuple of bytes to try.\n",
" | \n",
" | strip(self, bytes=None, /)\n",
" | Strip leading and trailing bytes contained in the argument.\n",
" | \n",
" | If the argument is omitted or None, strip leading and trailing ASCII whitespace.\n",
" | \n",
" | swapcase(...)\n",
" | B.swapcase() -> copy of B\n",
" | \n",
" | Return a copy of B with uppercase ASCII characters converted\n",
" | to lowercase ASCII and vice versa.\n",
" | \n",
" | title(...)\n",
" | B.title() -> copy of B\n",
" | \n",
" | Return a titlecased version of B, i.e. ASCII words start with uppercase\n",
" | characters, all remaining cased characters have lowercase.\n",
" | \n",
" | translate(self, table, /, delete=b'')\n",
" | Return a copy with each character mapped by the given translation table.\n",
" | \n",
" | table\n",
" | Translation table, which must be a bytes object of length 256.\n",
" | \n",
" | All characters occurring in the optional argument delete are removed.\n",
" | The remaining characters are mapped through the given translation table.\n",
" | \n",
" | upper(...)\n",
" | B.upper() -> copy of B\n",
" | \n",
" | Return a copy of B with all ASCII characters converted to uppercase.\n",
" | \n",
" | zfill(self, width, /)\n",
" | Pad a numeric string with zeros on the left, to fill a field of the given width.\n",
" | \n",
" | The original string is never truncated.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Class methods inherited from builtins.bytes:\n",
" | \n",
" | fromhex(string, /) from builtins.type\n",
" | Create a bytes object from a string of hexadecimal numbers.\n",
" | \n",
" | Spaces between two numbers are accepted.\n",
" | Example: bytes.fromhex('B9 01EF') -> b'\\\\xb9\\\\x01\\\\xef'.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.bytes:\n",
" | \n",
" | maketrans(frm, to, /)\n",
" | Return a translation table useable for the bytes or bytearray translate method.\n",
" | \n",
" | The returned table will be one where each byte in frm is mapped to the byte at\n",
" | the same position in to.\n",
" | \n",
" | The bytes objects frm and to must be of the same length.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class timedelta64(signedinteger)\n",
" | Abstract base class of all signed integer scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | timedelta64\n",
" | signedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" ubyte = class uint8(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned char``.\n",
" | Character code: ``'B'``.\n",
" | Canonical name: ``np.ubyte``.\n",
" | Alias *on this platform*: ``np.uint8``: 8-bit unsigned integer (0 to 255).\n",
" | \n",
" | Method resolution order:\n",
" | uint8\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class ufunc(builtins.object)\n",
" | Functions that operate element by element on whole arrays.\n",
" | \n",
" | To see the documentation for a specific ufunc, use `info`. For\n",
" | example, ``np.info(np.sin)``. Because ufuncs are written in C\n",
" | (for speed) and linked into Python with NumPy's ufunc facility,\n",
" | Python's help() function finds this page whenever help() is called\n",
" | on a ufunc.\n",
" | \n",
" | A detailed explanation of ufuncs can be found in the docs for :ref:`ufuncs`.\n",
" | \n",
" | Calling ufuncs:\n",
" | ===============\n",
" | \n",
" | op(*x[, out], where=True, **kwargs)\n",
" | Apply `op` to the arguments `*x` elementwise, broadcasting the arguments.\n",
" | \n",
" | The broadcasting rules are:\n",
" | \n",
" | * Dimensions of length 1 may be prepended to either array.\n",
" | * Arrays may be repeated along dimensions of length 1.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | *x : array_like\n",
" | Input arrays.\n",
" | out : ndarray, None, or tuple of ndarray and None, optional\n",
" | Alternate array object(s) in which to put the result; if provided, it\n",
" | must have a shape that the inputs broadcast to. A tuple of arrays\n",
" | (possible only as a keyword argument) must have length equal to the\n",
" | number of outputs; use None for uninitialized outputs to be\n",
" | allocated by the ufunc.\n",
" | where : array_like, optional\n",
" | This condition is broadcast over the input. At locations where the\n",
" | condition is True, the `out` array will be set to the ufunc result.\n",
" | Elsewhere, the `out` array will retain its original value.\n",
" | Note that if an uninitialized `out` array is created via the default\n",
" | ``out=None``, locations within it where the condition is False will\n",
" | remain uninitialized.\n",
" | **kwargs\n",
" | For other keyword-only arguments, see the :ref:`ufunc docs `.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | r : ndarray or tuple of ndarray\n",
" | `r` will have the shape that the arrays in `x` broadcast to; if `out` is\n",
" | provided, it will be returned. If not, `r` will be allocated and\n",
" | may contain uninitialized values. If the function has more than one\n",
" | output, then the result will be a tuple of arrays.\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __call__(self, /, *args, **kwargs)\n",
" | Call self as a function.\n",
" | \n",
" | __repr__(self, /)\n",
" | Return repr(self).\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | accumulate(...)\n",
" | accumulate(array, axis=0, dtype=None, out=None)\n",
" | \n",
" | Accumulate the result of applying the operator to all elements.\n",
" | \n",
" | For a one-dimensional array, accumulate produces results equivalent to::\n",
" | \n",
" | r = np.empty(len(A))\n",
" | t = op.identity # op = the ufunc being applied to A's elements\n",
" | for i in range(len(A)):\n",
" | t = op(t, A[i])\n",
" | r[i] = t\n",
" | return r\n",
" | \n",
" | For example, add.accumulate() is equivalent to np.cumsum().\n",
" | \n",
" | For a multi-dimensional array, accumulate is applied along only one\n",
" | axis (axis zero by default; see Examples below) so repeated use is\n",
" | necessary if one wants to accumulate over multiple axes.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | array : array_like\n",
" | The array to act on.\n",
" | axis : int, optional\n",
" | The axis along which to apply the accumulation; default is zero.\n",
" | dtype : data-type code, optional\n",
" | The data-type used to represent the intermediate results. Defaults\n",
" | to the data-type of the output array if such is provided, or the\n",
" | the data-type of the input array if no output array is provided.\n",
" | out : ndarray, None, or tuple of ndarray and None, optional\n",
" | A location into which the result is stored. If not provided or None,\n",
" | a freshly-allocated array is returned. For consistency with\n",
" | ``ufunc.__call__``, if given as a keyword, this may be wrapped in a\n",
" | 1-element tuple.\n",
" | \n",
" | .. versionchanged:: 1.13.0\n",
" | Tuples are allowed for keyword argument.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | r : ndarray\n",
" | The accumulated values. If `out` was supplied, `r` is a reference to\n",
" | `out`.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | 1-D array examples:\n",
" | \n",
" | >>> np.add.accumulate([2, 3, 5])\n",
" | array([ 2, 5, 10])\n",
" | >>> np.multiply.accumulate([2, 3, 5])\n",
" | array([ 2, 6, 30])\n",
" | \n",
" | 2-D array examples:\n",
" | \n",
" | >>> I = np.eye(2)\n",
" | >>> I\n",
" | array([[1., 0.],\n",
" | [0., 1.]])\n",
" | \n",
" | Accumulate along axis 0 (rows), down columns:\n",
" | \n",
" | >>> np.add.accumulate(I, 0)\n",
" | array([[1., 0.],\n",
" | [1., 1.]])\n",
" | >>> np.add.accumulate(I) # no axis specified = axis zero\n",
" | array([[1., 0.],\n",
" | [1., 1.]])\n",
" | \n",
" | Accumulate along axis 1 (columns), through rows:\n",
" | \n",
" | >>> np.add.accumulate(I, 1)\n",
" | array([[1., 1.],\n",
" | [0., 1.]])\n",
" | \n",
" | at(...)\n",
" | at(a, indices, b=None)\n",
" | \n",
" | Performs unbuffered in place operation on operand 'a' for elements\n",
" | specified by 'indices'. For addition ufunc, this method is equivalent to\n",
" | ``a[indices] += b``, except that results are accumulated for elements that\n",
" | are indexed more than once. For example, ``a[[0,0]] += 1`` will only\n",
" | increment the first element once because of buffering, whereas\n",
" | ``add.at(a, [0,0], 1)`` will increment the first element twice.\n",
" | \n",
" | .. versionadded:: 1.8.0\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | a : array_like\n",
" | The array to perform in place operation on.\n",
" | indices : array_like or tuple\n",
" | Array like index object or slice object for indexing into first\n",
" | operand. If first operand has multiple dimensions, indices can be a\n",
" | tuple of array like index objects or slice objects.\n",
" | b : array_like\n",
" | Second operand for ufuncs requiring two operands. Operand must be\n",
" | broadcastable over first operand after indexing or slicing.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | Set items 0 and 1 to their negative values:\n",
" | \n",
" | >>> a = np.array([1, 2, 3, 4])\n",
" | >>> np.negative.at(a, [0, 1])\n",
" | >>> a\n",
" | array([-1, -2, 3, 4])\n",
" | \n",
" | Increment items 0 and 1, and increment item 2 twice:\n",
" | \n",
" | >>> a = np.array([1, 2, 3, 4])\n",
" | >>> np.add.at(a, [0, 1, 2, 2], 1)\n",
" | >>> a\n",
" | array([2, 3, 5, 4])\n",
" | \n",
" | Add items 0 and 1 in first array to second array,\n",
" | and store results in first array:\n",
" | \n",
" | >>> a = np.array([1, 2, 3, 4])\n",
" | >>> b = np.array([1, 2])\n",
" | >>> np.add.at(a, [0, 1], b)\n",
" | >>> a\n",
" | array([2, 4, 3, 4])\n",
" | \n",
" | outer(...)\n",
" | outer(A, B, **kwargs)\n",
" | \n",
" | Apply the ufunc `op` to all pairs (a, b) with a in `A` and b in `B`.\n",
" | \n",
" | Let ``M = A.ndim``, ``N = B.ndim``. Then the result, `C`, of\n",
" | ``op.outer(A, B)`` is an array of dimension M + N such that:\n",
" | \n",
" | .. math:: C[i_0, ..., i_{M-1}, j_0, ..., j_{N-1}] =\n",
" | op(A[i_0, ..., i_{M-1}], B[j_0, ..., j_{N-1}])\n",
" | \n",
" | For `A` and `B` one-dimensional, this is equivalent to::\n",
" | \n",
" | r = empty(len(A),len(B))\n",
" | for i in range(len(A)):\n",
" | for j in range(len(B)):\n",
" | r[i,j] = op(A[i], B[j]) # op = ufunc in question\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | A : array_like\n",
" | First array\n",
" | B : array_like\n",
" | Second array\n",
" | kwargs : any\n",
" | Arguments to pass on to the ufunc. Typically `dtype` or `out`.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | r : ndarray\n",
" | Output array\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.outer : A less powerful version of ``np.multiply.outer``\n",
" | that `ravel`\\ s all inputs to 1D. This exists\n",
" | primarily for compatibility with old code.\n",
" | \n",
" | tensordot : ``np.tensordot(a, b, axes=((), ()))`` and\n",
" | ``np.multiply.outer(a, b)`` behave same for all\n",
" | dimensions of a and b.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.multiply.outer([1, 2, 3], [4, 5, 6])\n",
" | array([[ 4, 5, 6],\n",
" | [ 8, 10, 12],\n",
" | [12, 15, 18]])\n",
" | \n",
" | A multi-dimensional example:\n",
" | \n",
" | >>> A = np.array([[1, 2, 3], [4, 5, 6]])\n",
" | >>> A.shape\n",
" | (2, 3)\n",
" | >>> B = np.array([[1, 2, 3, 4]])\n",
" | >>> B.shape\n",
" | (1, 4)\n",
" | >>> C = np.multiply.outer(A, B)\n",
" | >>> C.shape; C\n",
" | (2, 3, 1, 4)\n",
" | array([[[[ 1, 2, 3, 4]],\n",
" | [[ 2, 4, 6, 8]],\n",
" | [[ 3, 6, 9, 12]]],\n",
" | [[[ 4, 8, 12, 16]],\n",
" | [[ 5, 10, 15, 20]],\n",
" | [[ 6, 12, 18, 24]]]])\n",
" | \n",
" | reduce(...)\n",
" | reduce(a, axis=0, dtype=None, out=None, keepdims=False, initial=, where=True)\n",
" | \n",
" | Reduces `a`'s dimension by one, by applying ufunc along one axis.\n",
" | \n",
" | Let :math:`a.shape = (N_0, ..., N_i, ..., N_{M-1})`. Then\n",
" | :math:`ufunc.reduce(a, axis=i)[k_0, ..,k_{i-1}, k_{i+1}, .., k_{M-1}]` =\n",
" | the result of iterating `j` over :math:`range(N_i)`, cumulatively applying\n",
" | ufunc to each :math:`a[k_0, ..,k_{i-1}, j, k_{i+1}, .., k_{M-1}]`.\n",
" | For a one-dimensional array, reduce produces results equivalent to:\n",
" | ::\n",
" | \n",
" | r = op.identity # op = ufunc\n",
" | for i in range(len(A)):\n",
" | r = op(r, A[i])\n",
" | return r\n",
" | \n",
" | For example, add.reduce() is equivalent to sum().\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | a : array_like\n",
" | The array to act on.\n",
" | axis : None or int or tuple of ints, optional\n",
" | Axis or axes along which a reduction is performed.\n",
" | The default (`axis` = 0) is perform a reduction over the first\n",
" | dimension of the input array. `axis` may be negative, in\n",
" | which case it counts from the last to the first axis.\n",
" | \n",
" | .. versionadded:: 1.7.0\n",
" | \n",
" | If this is None, a reduction is performed over all the axes.\n",
" | If this is a tuple of ints, a reduction is performed on multiple\n",
" | axes, instead of a single axis or all the axes as before.\n",
" | \n",
" | For operations which are either not commutative or not associative,\n",
" | doing a reduction over multiple axes is not well-defined. The\n",
" | ufuncs do not currently raise an exception in this case, but will\n",
" | likely do so in the future.\n",
" | dtype : data-type code, optional\n",
" | The type used to represent the intermediate results. Defaults\n",
" | to the data-type of the output array if this is provided, or\n",
" | the data-type of the input array if no output array is provided.\n",
" | out : ndarray, None, or tuple of ndarray and None, optional\n",
" | A location into which the result is stored. If not provided or None,\n",
" | a freshly-allocated array is returned. For consistency with\n",
" | ``ufunc.__call__``, if given as a keyword, this may be wrapped in a\n",
" | 1-element tuple.\n",
" | \n",
" | .. versionchanged:: 1.13.0\n",
" | Tuples are allowed for keyword argument.\n",
" | keepdims : bool, optional\n",
" | If this is set to True, the axes which are reduced are left\n",
" | in the result as dimensions with size one. With this option,\n",
" | the result will broadcast correctly against the original `arr`.\n",
" | \n",
" | .. versionadded:: 1.7.0\n",
" | initial : scalar, optional\n",
" | The value with which to start the reduction.\n",
" | If the ufunc has no identity or the dtype is object, this defaults\n",
" | to None - otherwise it defaults to ufunc.identity.\n",
" | If ``None`` is given, the first element of the reduction is used,\n",
" | and an error is thrown if the reduction is empty.\n",
" | \n",
" | .. versionadded:: 1.15.0\n",
" | \n",
" | where : array_like of bool, optional\n",
" | A boolean array which is broadcasted to match the dimensions\n",
" | of `a`, and selects elements to include in the reduction. Note\n",
" | that for ufuncs like ``minimum`` that do not have an identity\n",
" | defined, one has to pass in also ``initial``.\n",
" | \n",
" | .. versionadded:: 1.17.0\n",
" | \n",
" | Returns\n",
" | -------\n",
" | r : ndarray\n",
" | The reduced array. If `out` was supplied, `r` is a reference to it.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.multiply.reduce([2,3,5])\n",
" | 30\n",
" | \n",
" | A multi-dimensional array example:\n",
" | \n",
" | >>> X = np.arange(8).reshape((2,2,2))\n",
" | >>> X\n",
" | array([[[0, 1],\n",
" | [2, 3]],\n",
" | [[4, 5],\n",
" | [6, 7]]])\n",
" | >>> np.add.reduce(X, 0)\n",
" | array([[ 4, 6],\n",
" | [ 8, 10]])\n",
" | >>> np.add.reduce(X) # confirm: default axis value is 0\n",
" | array([[ 4, 6],\n",
" | [ 8, 10]])\n",
" | >>> np.add.reduce(X, 1)\n",
" | array([[ 2, 4],\n",
" | [10, 12]])\n",
" | >>> np.add.reduce(X, 2)\n",
" | array([[ 1, 5],\n",
" | [ 9, 13]])\n",
" | \n",
" | You can use the ``initial`` keyword argument to initialize the reduction\n",
" | with a different value, and ``where`` to select specific elements to include:\n",
" | \n",
" | >>> np.add.reduce([10], initial=5)\n",
" | 15\n",
" | >>> np.add.reduce(np.ones((2, 2, 2)), axis=(0, 2), initial=10)\n",
" | array([14., 14.])\n",
" | >>> a = np.array([10., np.nan, 10])\n",
" | >>> np.add.reduce(a, where=~np.isnan(a))\n",
" | 20.0\n",
" | \n",
" | Allows reductions of empty arrays where they would normally fail, i.e.\n",
" | for ufuncs without an identity.\n",
" | \n",
" | >>> np.minimum.reduce([], initial=np.inf)\n",
" | inf\n",
" | >>> np.minimum.reduce([[1., 2.], [3., 4.]], initial=10., where=[True, False])\n",
" | array([ 1., 10.])\n",
" | >>> np.minimum.reduce([])\n",
" | Traceback (most recent call last):\n",
" | ...\n",
" | ValueError: zero-size array to reduction operation minimum which has no identity\n",
" | \n",
" | reduceat(...)\n",
" | reduceat(a, indices, axis=0, dtype=None, out=None)\n",
" | \n",
" | Performs a (local) reduce with specified slices over a single axis.\n",
" | \n",
" | For i in ``range(len(indices))``, `reduceat` computes\n",
" | ``ufunc.reduce(a[indices[i]:indices[i+1]])``, which becomes the i-th\n",
" | generalized \"row\" parallel to `axis` in the final result (i.e., in a\n",
" | 2-D array, for example, if `axis = 0`, it becomes the i-th row, but if\n",
" | `axis = 1`, it becomes the i-th column). There are three exceptions to this:\n",
" | \n",
" | * when ``i = len(indices) - 1`` (so for the last index),\n",
" | ``indices[i+1] = a.shape[axis]``.\n",
" | * if ``indices[i] >= indices[i + 1]``, the i-th generalized \"row\" is\n",
" | simply ``a[indices[i]]``.\n",
" | * if ``indices[i] >= len(a)`` or ``indices[i] < 0``, an error is raised.\n",
" | \n",
" | The shape of the output depends on the size of `indices`, and may be\n",
" | larger than `a` (this happens if ``len(indices) > a.shape[axis]``).\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | a : array_like\n",
" | The array to act on.\n",
" | indices : array_like\n",
" | Paired indices, comma separated (not colon), specifying slices to\n",
" | reduce.\n",
" | axis : int, optional\n",
" | The axis along which to apply the reduceat.\n",
" | dtype : data-type code, optional\n",
" | The type used to represent the intermediate results. Defaults\n",
" | to the data type of the output array if this is provided, or\n",
" | the data type of the input array if no output array is provided.\n",
" | out : ndarray, None, or tuple of ndarray and None, optional\n",
" | A location into which the result is stored. If not provided or None,\n",
" | a freshly-allocated array is returned. For consistency with\n",
" | ``ufunc.__call__``, if given as a keyword, this may be wrapped in a\n",
" | 1-element tuple.\n",
" | \n",
" | .. versionchanged:: 1.13.0\n",
" | Tuples are allowed for keyword argument.\n",
" | \n",
" | Returns\n",
" | -------\n",
" | r : ndarray\n",
" | The reduced values. If `out` was supplied, `r` is a reference to\n",
" | `out`.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | A descriptive example:\n",
" | \n",
" | If `a` is 1-D, the function `ufunc.accumulate(a)` is the same as\n",
" | ``ufunc.reduceat(a, indices)[::2]`` where `indices` is\n",
" | ``range(len(array) - 1)`` with a zero placed\n",
" | in every other element:\n",
" | ``indices = zeros(2 * len(a) - 1)``, ``indices[1::2] = range(1, len(a))``.\n",
" | \n",
" | Don't be fooled by this attribute's name: `reduceat(a)` is not\n",
" | necessarily smaller than `a`.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | To take the running sum of four successive values:\n",
" | \n",
" | >>> np.add.reduceat(np.arange(8),[0,4, 1,5, 2,6, 3,7])[::2]\n",
" | array([ 6, 10, 14, 18])\n",
" | \n",
" | A 2-D example:\n",
" | \n",
" | >>> x = np.linspace(0, 15, 16).reshape(4,4)\n",
" | >>> x\n",
" | array([[ 0., 1., 2., 3.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.],\n",
" | [12., 13., 14., 15.]])\n",
" | \n",
" | ::\n",
" | \n",
" | # reduce such that the result has the following five rows:\n",
" | # [row1 + row2 + row3]\n",
" | # [row4]\n",
" | # [row2]\n",
" | # [row3]\n",
" | # [row1 + row2 + row3 + row4]\n",
" | \n",
" | >>> np.add.reduceat(x, [0, 3, 1, 2, 0])\n",
" | array([[12., 15., 18., 21.],\n",
" | [12., 13., 14., 15.],\n",
" | [ 4., 5., 6., 7.],\n",
" | [ 8., 9., 10., 11.],\n",
" | [24., 28., 32., 36.]])\n",
" | \n",
" | ::\n",
" | \n",
" | # reduce such that result has the following two columns:\n",
" | # [col1 * col2 * col3, col4]\n",
" | \n",
" | >>> np.multiply.reduceat(x, [0, 3], 1)\n",
" | array([[ 0., 3.],\n",
" | [ 120., 7.],\n",
" | [ 720., 11.],\n",
" | [2184., 15.]])\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | identity\n",
" | The identity value.\n",
" | \n",
" | Data attribute containing the identity element for the ufunc, if it has one.\n",
" | If it does not, the attribute value is None.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.add.identity\n",
" | 0\n",
" | >>> np.multiply.identity\n",
" | 1\n",
" | >>> np.power.identity\n",
" | 1\n",
" | >>> print(np.exp.identity)\n",
" | None\n",
" | \n",
" | nargs\n",
" | The number of arguments.\n",
" | \n",
" | Data attribute containing the number of arguments the ufunc takes, including\n",
" | optional ones.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Typically this value will be one more than what you might expect because all\n",
" | ufuncs take the optional \"out\" argument.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.add.nargs\n",
" | 3\n",
" | >>> np.multiply.nargs\n",
" | 3\n",
" | >>> np.power.nargs\n",
" | 3\n",
" | >>> np.exp.nargs\n",
" | 2\n",
" | \n",
" | nin\n",
" | The number of inputs.\n",
" | \n",
" | Data attribute containing the number of arguments the ufunc treats as input.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.add.nin\n",
" | 2\n",
" | >>> np.multiply.nin\n",
" | 2\n",
" | >>> np.power.nin\n",
" | 2\n",
" | >>> np.exp.nin\n",
" | 1\n",
" | \n",
" | nout\n",
" | The number of outputs.\n",
" | \n",
" | Data attribute containing the number of arguments the ufunc treats as output.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Since all ufuncs can take output arguments, this will always be (at least) 1.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.add.nout\n",
" | 1\n",
" | >>> np.multiply.nout\n",
" | 1\n",
" | >>> np.power.nout\n",
" | 1\n",
" | >>> np.exp.nout\n",
" | 1\n",
" | \n",
" | ntypes\n",
" | The number of types.\n",
" | \n",
" | The number of numerical NumPy types - of which there are 18 total - on which\n",
" | the ufunc can operate.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ufunc.types\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.add.ntypes\n",
" | 18\n",
" | >>> np.multiply.ntypes\n",
" | 18\n",
" | >>> np.power.ntypes\n",
" | 17\n",
" | >>> np.exp.ntypes\n",
" | 7\n",
" | >>> np.remainder.ntypes\n",
" | 14\n",
" | \n",
" | signature\n",
" | Definition of the core elements a generalized ufunc operates on.\n",
" | \n",
" | The signature determines how the dimensions of each input/output array\n",
" | are split into core and loop dimensions:\n",
" | \n",
" | 1. Each dimension in the signature is matched to a dimension of the\n",
" | corresponding passed-in array, starting from the end of the shape tuple.\n",
" | 2. Core dimensions assigned to the same label in the signature must have\n",
" | exactly matching sizes, no broadcasting is performed.\n",
" | 3. The core dimensions are removed from all inputs and the remaining\n",
" | dimensions are broadcast together, defining the loop dimensions.\n",
" | \n",
" | Notes\n",
" | -----\n",
" | Generalized ufuncs are used internally in many linalg functions, and in\n",
" | the testing suite; the examples below are taken from these.\n",
" | For ufuncs that operate on scalars, the signature is None, which is\n",
" | equivalent to '()' for every argument.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.core.umath_tests.matrix_multiply.signature\n",
" | '(m,n),(n,p)->(m,p)'\n",
" | >>> np.linalg._umath_linalg.det.signature\n",
" | '(m,m)->()'\n",
" | >>> np.add.signature is None\n",
" | True # equivalent to '(),()->()'\n",
" | \n",
" | types\n",
" | Returns a list with types grouped input->output.\n",
" | \n",
" | Data attribute listing the data-type \"Domain-Range\" groupings the ufunc can\n",
" | deliver. The data-types are given using the character codes.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | numpy.ufunc.ntypes\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> np.add.types\n",
" | ['??->?', 'bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I', 'll->l',\n",
" | 'LL->L', 'qq->q', 'QQ->Q', 'ff->f', 'dd->d', 'gg->g', 'FF->F', 'DD->D',\n",
" | 'GG->G', 'OO->O']\n",
" | \n",
" | >>> np.multiply.types\n",
" | ['??->?', 'bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I', 'll->l',\n",
" | 'LL->L', 'qq->q', 'QQ->Q', 'ff->f', 'dd->d', 'gg->g', 'FF->F', 'DD->D',\n",
" | 'GG->G', 'OO->O']\n",
" | \n",
" | >>> np.power.types\n",
" | ['bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I', 'll->l', 'LL->L',\n",
" | 'qq->q', 'QQ->Q', 'ff->f', 'dd->d', 'gg->g', 'FF->F', 'DD->D', 'GG->G',\n",
" | 'OO->O']\n",
" | \n",
" | >>> np.exp.types\n",
" | ['f->f', 'd->d', 'g->g', 'F->F', 'D->D', 'G->G', 'O->O']\n",
" | \n",
" | >>> np.remainder.types\n",
" | ['bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I', 'll->l', 'LL->L',\n",
" | 'qq->q', 'QQ->Q', 'ff->f', 'dd->d', 'gg->g', 'OO->O']\n",
" \n",
" uint = class uint64(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned long``.\n",
" | Character code: ``'L'``.\n",
" | Canonical name: ``np.uint``.\n",
" | Alias *on this platform*: ``np.uint64``: 64-bit unsigned integer (0 to 18446744073709551615).\n",
" | Alias *on this platform*: ``np.uintp``: Unsigned integer large enough to fit pointer, compatible with C ``uintptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | uint64\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" uint0 = class uint64(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned long``.\n",
" | Character code: ``'L'``.\n",
" | Canonical name: ``np.uint``.\n",
" | Alias *on this platform*: ``np.uint64``: 64-bit unsigned integer (0 to 18446744073709551615).\n",
" | Alias *on this platform*: ``np.uintp``: Unsigned integer large enough to fit pointer, compatible with C ``uintptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | uint64\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class uint16(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned short``.\n",
" | Character code: ``'H'``.\n",
" | Canonical name: ``np.ushort``.\n",
" | Alias *on this platform*: ``np.uint16``: 16-bit unsigned integer (0 to 65535).\n",
" | \n",
" | Method resolution order:\n",
" | uint16\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class uint32(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned int``.\n",
" | Character code: ``'I'``.\n",
" | Canonical name: ``np.uintc``.\n",
" | Alias *on this platform*: ``np.uint32``: 32-bit unsigned integer (0 to 4294967295).\n",
" | \n",
" | Method resolution order:\n",
" | uint32\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class uint64(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned long``.\n",
" | Character code: ``'L'``.\n",
" | Canonical name: ``np.uint``.\n",
" | Alias *on this platform*: ``np.uint64``: 64-bit unsigned integer (0 to 18446744073709551615).\n",
" | Alias *on this platform*: ``np.uintp``: Unsigned integer large enough to fit pointer, compatible with C ``uintptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | uint64\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class uint8(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned char``.\n",
" | Character code: ``'B'``.\n",
" | Canonical name: ``np.ubyte``.\n",
" | Alias *on this platform*: ``np.uint8``: 8-bit unsigned integer (0 to 255).\n",
" | \n",
" | Method resolution order:\n",
" | uint8\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" uintc = class uint32(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned int``.\n",
" | Character code: ``'I'``.\n",
" | Canonical name: ``np.uintc``.\n",
" | Alias *on this platform*: ``np.uint32``: 32-bit unsigned integer (0 to 4294967295).\n",
" | \n",
" | Method resolution order:\n",
" | uint32\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" uintp = class uint64(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned long``.\n",
" | Character code: ``'L'``.\n",
" | Canonical name: ``np.uint``.\n",
" | Alias *on this platform*: ``np.uint64``: 64-bit unsigned integer (0 to 18446744073709551615).\n",
" | Alias *on this platform*: ``np.uintp``: Unsigned integer large enough to fit pointer, compatible with C ``uintptr_t``.\n",
" | \n",
" | Method resolution order:\n",
" | uint64\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class ulonglong(unsignedinteger)\n",
" | Signed integer type, compatible with C ``unsigned long long``.\n",
" | Character code: ``'Q'``.\n",
" | \n",
" | Method resolution order:\n",
" | ulonglong\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" unicode_ = class str_(builtins.str, character)\n",
" | str(object='') -> str\n",
" | str(bytes_or_buffer[, encoding[, errors]]) -> str\n",
" | \n",
" | Create a new string object from the given object. If encoding or\n",
" | errors is specified, then the object must expose a data buffer\n",
" | that will be decoded using the given encoding and error handler.\n",
" | Otherwise, returns the result of object.__str__() (if defined)\n",
" | or repr(object).\n",
" | encoding defaults to sys.getdefaultencoding().\n",
" | errors defaults to 'strict'.\n",
" | \n",
" | Method resolution order:\n",
" | str_\n",
" | builtins.str\n",
" | character\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self int\n",
" | \n",
" | Return the number of non-overlapping occurrences of substring sub in\n",
" | string S[start:end]. Optional arguments start and end are\n",
" | interpreted as in slice notation.\n",
" | \n",
" | encode(self, /, encoding='utf-8', errors='strict')\n",
" | Encode the string using the codec registered for encoding.\n",
" | \n",
" | encoding\n",
" | The encoding in which to encode the string.\n",
" | errors\n",
" | The error handling scheme to use for encoding errors.\n",
" | The default is 'strict' meaning that encoding errors raise a\n",
" | UnicodeEncodeError. Other possible values are 'ignore', 'replace' and\n",
" | 'xmlcharrefreplace' as well as any other name registered with\n",
" | codecs.register_error that can handle UnicodeEncodeErrors.\n",
" | \n",
" | endswith(...)\n",
" | S.endswith(suffix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if S ends with the specified suffix, False otherwise.\n",
" | With optional start, test S beginning at that position.\n",
" | With optional end, stop comparing S at that position.\n",
" | suffix can also be a tuple of strings to try.\n",
" | \n",
" | expandtabs(self, /, tabsize=8)\n",
" | Return a copy where all tab characters are expanded using spaces.\n",
" | \n",
" | If tabsize is not given, a tab size of 8 characters is assumed.\n",
" | \n",
" | find(...)\n",
" | S.find(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | format(...)\n",
" | S.format(*args, **kwargs) -> str\n",
" | \n",
" | Return a formatted version of S, using substitutions from args and kwargs.\n",
" | The substitutions are identified by braces ('{' and '}').\n",
" | \n",
" | format_map(...)\n",
" | S.format_map(mapping) -> str\n",
" | \n",
" | Return a formatted version of S, using substitutions from mapping.\n",
" | The substitutions are identified by braces ('{' and '}').\n",
" | \n",
" | index(...)\n",
" | S.index(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the lowest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the substring is not found.\n",
" | \n",
" | isalnum(self, /)\n",
" | Return True if the string is an alpha-numeric string, False otherwise.\n",
" | \n",
" | A string is alpha-numeric if all characters in the string are alpha-numeric and\n",
" | there is at least one character in the string.\n",
" | \n",
" | isalpha(self, /)\n",
" | Return True if the string is an alphabetic string, False otherwise.\n",
" | \n",
" | A string is alphabetic if all characters in the string are alphabetic and there\n",
" | is at least one character in the string.\n",
" | \n",
" | isascii(self, /)\n",
" | Return True if all characters in the string are ASCII, False otherwise.\n",
" | \n",
" | ASCII characters have code points in the range U+0000-U+007F.\n",
" | Empty string is ASCII too.\n",
" | \n",
" | isdecimal(self, /)\n",
" | Return True if the string is a decimal string, False otherwise.\n",
" | \n",
" | A string is a decimal string if all characters in the string are decimal and\n",
" | there is at least one character in the string.\n",
" | \n",
" | isdigit(self, /)\n",
" | Return True if the string is a digit string, False otherwise.\n",
" | \n",
" | A string is a digit string if all characters in the string are digits and there\n",
" | is at least one character in the string.\n",
" | \n",
" | isidentifier(self, /)\n",
" | Return True if the string is a valid Python identifier, False otherwise.\n",
" | \n",
" | Call keyword.iskeyword(s) to test whether string s is a reserved identifier,\n",
" | such as \"def\" or \"class\".\n",
" | \n",
" | islower(self, /)\n",
" | Return True if the string is a lowercase string, False otherwise.\n",
" | \n",
" | A string is lowercase if all cased characters in the string are lowercase and\n",
" | there is at least one cased character in the string.\n",
" | \n",
" | isnumeric(self, /)\n",
" | Return True if the string is a numeric string, False otherwise.\n",
" | \n",
" | A string is numeric if all characters in the string are numeric and there is at\n",
" | least one character in the string.\n",
" | \n",
" | isprintable(self, /)\n",
" | Return True if the string is printable, False otherwise.\n",
" | \n",
" | A string is printable if all of its characters are considered printable in\n",
" | repr() or if it is empty.\n",
" | \n",
" | isspace(self, /)\n",
" | Return True if the string is a whitespace string, False otherwise.\n",
" | \n",
" | A string is whitespace if all characters in the string are whitespace and there\n",
" | is at least one character in the string.\n",
" | \n",
" | istitle(self, /)\n",
" | Return True if the string is a title-cased string, False otherwise.\n",
" | \n",
" | In a title-cased string, upper- and title-case characters may only\n",
" | follow uncased characters and lowercase characters only cased ones.\n",
" | \n",
" | isupper(self, /)\n",
" | Return True if the string is an uppercase string, False otherwise.\n",
" | \n",
" | A string is uppercase if all cased characters in the string are uppercase and\n",
" | there is at least one cased character in the string.\n",
" | \n",
" | join(self, iterable, /)\n",
" | Concatenate any number of strings.\n",
" | \n",
" | The string whose method is called is inserted in between each given string.\n",
" | The result is returned as a new string.\n",
" | \n",
" | Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'\n",
" | \n",
" | ljust(self, width, fillchar=' ', /)\n",
" | Return a left-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character (default is a space).\n",
" | \n",
" | lower(self, /)\n",
" | Return a copy of the string converted to lowercase.\n",
" | \n",
" | lstrip(self, chars=None, /)\n",
" | Return a copy of the string with leading whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | partition(self, sep, /)\n",
" | Partition the string into three parts using the given separator.\n",
" | \n",
" | This will search for the separator in the string. If the separator is found,\n",
" | returns a 3-tuple containing the part before the separator, the separator\n",
" | itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing the original string\n",
" | and two empty strings.\n",
" | \n",
" | replace(self, old, new, count=-1, /)\n",
" | Return a copy with all occurrences of substring old replaced by new.\n",
" | \n",
" | count\n",
" | Maximum number of occurrences to replace.\n",
" | -1 (the default value) means replace all occurrences.\n",
" | \n",
" | If the optional argument count is given, only the first count occurrences are\n",
" | replaced.\n",
" | \n",
" | rfind(...)\n",
" | S.rfind(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Return -1 on failure.\n",
" | \n",
" | rindex(...)\n",
" | S.rindex(sub[, start[, end]]) -> int\n",
" | \n",
" | Return the highest index in S where substring sub is found,\n",
" | such that sub is contained within S[start:end]. Optional\n",
" | arguments start and end are interpreted as in slice notation.\n",
" | \n",
" | Raises ValueError when the substring is not found.\n",
" | \n",
" | rjust(self, width, fillchar=' ', /)\n",
" | Return a right-justified string of length width.\n",
" | \n",
" | Padding is done using the specified fill character (default is a space).\n",
" | \n",
" | rpartition(self, sep, /)\n",
" | Partition the string into three parts using the given separator.\n",
" | \n",
" | This will search for the separator in the string, starting at the end. If\n",
" | the separator is found, returns a 3-tuple containing the part before the\n",
" | separator, the separator itself, and the part after it.\n",
" | \n",
" | If the separator is not found, returns a 3-tuple containing two empty strings\n",
" | and the original string.\n",
" | \n",
" | rsplit(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the words in the string, using sep as the delimiter string.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the string.\n",
" | None (the default value) means split according to any whitespace,\n",
" | and discard empty strings from the result.\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | Splits are done starting at the end of the string and working to the front.\n",
" | \n",
" | rstrip(self, chars=None, /)\n",
" | Return a copy of the string with trailing whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | split(self, /, sep=None, maxsplit=-1)\n",
" | Return a list of the words in the string, using sep as the delimiter string.\n",
" | \n",
" | sep\n",
" | The delimiter according which to split the string.\n",
" | None (the default value) means split according to any whitespace,\n",
" | and discard empty strings from the result.\n",
" | maxsplit\n",
" | Maximum number of splits to do.\n",
" | -1 (the default value) means no limit.\n",
" | \n",
" | splitlines(self, /, keepends=False)\n",
" | Return a list of the lines in the string, breaking at line boundaries.\n",
" | \n",
" | Line breaks are not included in the resulting list unless keepends is given and\n",
" | true.\n",
" | \n",
" | startswith(...)\n",
" | S.startswith(prefix[, start[, end]]) -> bool\n",
" | \n",
" | Return True if S starts with the specified prefix, False otherwise.\n",
" | With optional start, test S beginning at that position.\n",
" | With optional end, stop comparing S at that position.\n",
" | prefix can also be a tuple of strings to try.\n",
" | \n",
" | strip(self, chars=None, /)\n",
" | Return a copy of the string with leading and trailing whitespace removed.\n",
" | \n",
" | If chars is given and not None, remove characters in chars instead.\n",
" | \n",
" | swapcase(self, /)\n",
" | Convert uppercase characters to lowercase and lowercase characters to uppercase.\n",
" | \n",
" | title(self, /)\n",
" | Return a version of the string where each word is titlecased.\n",
" | \n",
" | More specifically, words start with uppercased characters and all remaining\n",
" | cased characters have lower case.\n",
" | \n",
" | translate(self, table, /)\n",
" | Replace each character in the string using the given translation table.\n",
" | \n",
" | table\n",
" | Translation table, which must be a mapping of Unicode ordinals to\n",
" | Unicode ordinals, strings, or None.\n",
" | \n",
" | The table must implement lookup/indexing via __getitem__, for instance a\n",
" | dictionary or list. If this operation raises LookupError, the character is\n",
" | left untouched. Characters mapped to None are deleted.\n",
" | \n",
" | upper(self, /)\n",
" | Return a copy of the string converted to uppercase.\n",
" | \n",
" | zfill(self, width, /)\n",
" | Pad a numeric string with zeros on the left, to fill a field of the given width.\n",
" | \n",
" | The string is never truncated.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods inherited from builtins.str:\n",
" | \n",
" | maketrans(...)\n",
" | Return a translation table usable for str.translate().\n",
" | \n",
" | If there is only one argument, it must be a dictionary mapping Unicode\n",
" | ordinals (integers) or characters to Unicode ordinals, strings or None.\n",
" | Character keys will be then converted to ordinals.\n",
" | If there are two arguments, they must be strings of equal length, and\n",
" | in the resulting dictionary, each character in x will be mapped to the\n",
" | character at the same position in y. If there is a third argument, it\n",
" | must be a string, whose characters will be mapped to None in the result.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class unsignedinteger(integer)\n",
" | Abstract base class of all unsigned integer scalar types.\n",
" | \n",
" | Method resolution order:\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data and other attributes inherited from generic:\n",
" | \n",
" | __hash__ = None\n",
" \n",
" ushort = class uint16(unsignedinteger)\n",
" | Unsigned integer type, compatible with C ``unsigned short``.\n",
" | Character code: ``'H'``.\n",
" | Canonical name: ``np.ushort``.\n",
" | Alias *on this platform*: ``np.uint16``: 16-bit unsigned integer (0 to 65535).\n",
" | \n",
" | Method resolution order:\n",
" | uint16\n",
" | unsignedinteger\n",
" | integer\n",
" | number\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __abs__(self, /)\n",
" | abs(self)\n",
" | \n",
" | __add__(self, value, /)\n",
" | Return self+value.\n",
" | \n",
" | __and__(self, value, /)\n",
" | Return self&value.\n",
" | \n",
" | __bool__(self, /)\n",
" | self != 0\n",
" | \n",
" | __divmod__(self, value, /)\n",
" | Return divmod(self, value).\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __float__(self, /)\n",
" | float(self)\n",
" | \n",
" | __floordiv__(self, value, /)\n",
" | Return self//value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __index__(self, /)\n",
" | Return self converted to an integer, if self is suitable for use as an index into a list.\n",
" | \n",
" | __int__(self, /)\n",
" | int(self)\n",
" | \n",
" | __invert__(self, /)\n",
" | ~self\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __lshift__(self, value, /)\n",
" | Return self<>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __str__(self, /)\n",
" | Return str(self).\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Static methods defined here:\n",
" | \n",
" | __new__(*args, **kwargs) from builtins.type\n",
" | Create and return a new object. See help(type) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from integer:\n",
" | \n",
" | __round__(...)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from integer:\n",
" | \n",
" | denominator\n",
" | denominator of value (1)\n",
" | \n",
" | numerator\n",
" | numerator of value (the value itself)\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Methods inherited from generic:\n",
" | \n",
" | __array__(...)\n",
" | sc.__array__(dtype) return 0-dim array from scalar with specified dtype\n",
" | \n",
" | __array_wrap__(...)\n",
" | sc.__array_wrap__(obj) return scalar from array\n",
" | \n",
" | __copy__(...)\n",
" | \n",
" | __deepcopy__(...)\n",
" | \n",
" | __format__(...)\n",
" | NumPy array scalar formatter\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __reduce__(...)\n",
" | Helper for pickle.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | getfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setfield(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | base\n",
" | base object\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | dtype\n",
" | get array data-descriptor\n",
" | \n",
" | flags\n",
" | integer value of flags\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" class vectorize(builtins.object)\n",
" | vectorize(pyfunc, otypes=None, doc=None, excluded=None, cache=False, signature=None)\n",
" | \n",
" | vectorize(pyfunc, otypes=None, doc=None, excluded=None, cache=False,\n",
" | signature=None)\n",
" | \n",
" | Generalized function class.\n",
" | \n",
" | Define a vectorized function which takes a nested sequence of objects or\n",
" | numpy arrays as inputs and returns a single numpy array or a tuple of numpy\n",
" | arrays. The vectorized function evaluates `pyfunc` over successive tuples\n",
" | of the input arrays like the python map function, except it uses the\n",
" | broadcasting rules of numpy.\n",
" | \n",
" | The data type of the output of `vectorized` is determined by calling\n",
" | the function with the first element of the input. This can be avoided\n",
" | by specifying the `otypes` argument.\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | pyfunc : callable\n",
" | A python function or method.\n",
" | otypes : str or list of dtypes, optional\n",
" | The output data type. It must be specified as either a string of\n",
" | typecode characters or a list of data type specifiers. There should\n",
" | be one data type specifier for each output.\n",
" | doc : str, optional\n",
" | The docstring for the function. If None, the docstring will be the\n",
" | ``pyfunc.__doc__``.\n",
" | excluded : set, optional\n",
" | Set of strings or integers representing the positional or keyword\n",
" | arguments for which the function will not be vectorized. These will be\n",
" | passed directly to `pyfunc` unmodified.\n",
" | \n",
" | .. versionadded:: 1.7.0\n",
" | \n",
" | cache : bool, optional\n",
" | If `True`, then cache the first function call that determines the number\n",
" | of outputs if `otypes` is not provided.\n",
" | \n",
" | .. versionadded:: 1.7.0\n",
" | \n",
" | signature : string, optional\n",
" | Generalized universal function signature, e.g., ``(m,n),(n)->(m)`` for\n",
" | vectorized matrix-vector multiplication. If provided, ``pyfunc`` will\n",
" | be called with (and expected to return) arrays with shapes given by the\n",
" | size of corresponding core dimensions. By default, ``pyfunc`` is\n",
" | assumed to take scalars as input and output.\n",
" | \n",
" | .. versionadded:: 1.12.0\n",
" | \n",
" | Returns\n",
" | -------\n",
" | vectorized : callable\n",
" | Vectorized function.\n",
" | \n",
" | See Also\n",
" | --------\n",
" | frompyfunc : Takes an arbitrary Python function and returns a ufunc\n",
" | \n",
" | Notes\n",
" | -----\n",
" | The `vectorize` function is provided primarily for convenience, not for\n",
" | performance. The implementation is essentially a for loop.\n",
" | \n",
" | If `otypes` is not specified, then a call to the function with the\n",
" | first argument will be used to determine the number of outputs. The\n",
" | results of this call will be cached if `cache` is `True` to prevent\n",
" | calling the function twice. However, to implement the cache, the\n",
" | original function must be wrapped which will slow down subsequent\n",
" | calls, so only do this if your function is expensive.\n",
" | \n",
" | The new keyword argument interface and `excluded` argument support\n",
" | further degrades performance.\n",
" | \n",
" | References\n",
" | ----------\n",
" | .. [1] NumPy Reference, section `Generalized Universal Function API\n",
" | `_.\n",
" | \n",
" | Examples\n",
" | --------\n",
" | >>> def myfunc(a, b):\n",
" | ... \"Return a-b if a>b, otherwise return a+b\"\n",
" | ... if a > b:\n",
" | ... return a - b\n",
" | ... else:\n",
" | ... return a + b\n",
" | \n",
" | >>> vfunc = np.vectorize(myfunc)\n",
" | >>> vfunc([1, 2, 3, 4], 2)\n",
" | array([3, 4, 1, 2])\n",
" | \n",
" | The docstring is taken from the input function to `vectorize` unless it\n",
" | is specified:\n",
" | \n",
" | >>> vfunc.__doc__\n",
" | 'Return a-b if a>b, otherwise return a+b'\n",
" | >>> vfunc = np.vectorize(myfunc, doc='Vectorized `myfunc`')\n",
" | >>> vfunc.__doc__\n",
" | 'Vectorized `myfunc`'\n",
" | \n",
" | The output type is determined by evaluating the first element of the input,\n",
" | unless it is specified:\n",
" | \n",
" | >>> out = vfunc([1, 2, 3, 4], 2)\n",
" | >>> type(out[0])\n",
" | \n",
" | >>> vfunc = np.vectorize(myfunc, otypes=[float])\n",
" | >>> out = vfunc([1, 2, 3, 4], 2)\n",
" | >>> type(out[0])\n",
" | \n",
" | \n",
" | The `excluded` argument can be used to prevent vectorizing over certain\n",
" | arguments. This can be useful for array-like arguments of a fixed length\n",
" | such as the coefficients for a polynomial as in `polyval`:\n",
" | \n",
" | >>> def mypolyval(p, x):\n",
" | ... _p = list(p)\n",
" | ... res = _p.pop(0)\n",
" | ... while _p:\n",
" | ... res = res*x + _p.pop(0)\n",
" | ... return res\n",
" | >>> vpolyval = np.vectorize(mypolyval, excluded=['p'])\n",
" | >>> vpolyval(p=[1, 2, 3], x=[0, 1])\n",
" | array([3, 6])\n",
" | \n",
" | Positional arguments may also be excluded by specifying their position:\n",
" | \n",
" | >>> vpolyval.excluded.add(0)\n",
" | >>> vpolyval([1, 2, 3], x=[0, 1])\n",
" | array([3, 6])\n",
" | \n",
" | The `signature` argument allows for vectorizing functions that act on\n",
" | non-scalar arrays of fixed length. For example, you can use it for a\n",
" | vectorized calculation of Pearson correlation coefficient and its p-value:\n",
" | \n",
" | >>> import scipy.stats\n",
" | >>> pearsonr = np.vectorize(scipy.stats.pearsonr,\n",
" | ... signature='(n),(n)->(),()')\n",
" | >>> pearsonr([[0, 1, 2, 3]], [[1, 2, 3, 4], [4, 3, 2, 1]])\n",
" | (array([ 1., -1.]), array([ 0., 0.]))\n",
" | \n",
" | Or for a vectorized convolution:\n",
" | \n",
" | >>> convolve = np.vectorize(np.convolve, signature='(n),(m)->(k)')\n",
" | >>> convolve(np.eye(4), [1, 2, 1])\n",
" | array([[1., 2., 1., 0., 0., 0.],\n",
" | [0., 1., 2., 1., 0., 0.],\n",
" | [0., 0., 1., 2., 1., 0.],\n",
" | [0., 0., 0., 1., 2., 1.]])\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __call__(self, *args, **kwargs)\n",
" | Return arrays with the results of `pyfunc` broadcast (vectorized) over\n",
" | `args` and `kwargs` not in `excluded`.\n",
" | \n",
" | __init__(self, pyfunc, otypes=None, doc=None, excluded=None, cache=False, signature=None)\n",
" | Initialize self. See help(type(self)) for accurate signature.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors defined here:\n",
" | \n",
" | __dict__\n",
" | dictionary for instance variables (if defined)\n",
" | \n",
" | __weakref__\n",
" | list of weak references to the object (if defined)\n",
" \n",
" class void(flexible)\n",
" | Abstract base class of all scalar types without predefined length.\n",
" | The actual size of these types depends on the specific `np.dtype`\n",
" | instantiation.\n",
" | \n",
" | Method resolution order:\n",
" | void\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
" \n",
" void0 = class void(flexible)\n",
" | Abstract base class of all scalar types without predefined length.\n",
" | The actual size of these types depends on the specific `np.dtype`\n",
" | instantiation.\n",
" | \n",
" | Method resolution order:\n",
" | void\n",
" | flexible\n",
" | generic\n",
" | builtins.object\n",
" | \n",
" | Methods defined here:\n",
" | \n",
" | __delitem__(self, key, /)\n",
" | Delete self[key].\n",
" | \n",
" | __eq__(self, value, /)\n",
" | Return self==value.\n",
" | \n",
" | __ge__(self, value, /)\n",
" | Return self>=value.\n",
" | \n",
" | __getitem__(self, key, /)\n",
" | Return self[key].\n",
" | \n",
" | __gt__(self, value, /)\n",
" | Return self>value.\n",
" | \n",
" | __hash__(self, /)\n",
" | Return hash(self).\n",
" | \n",
" | __le__(self, value, /)\n",
" | Return self<=value.\n",
" | \n",
" | __len__(self, /)\n",
" | Return len(self).\n",
" | \n",
" | __lt__(self, value, /)\n",
" | Return self>self.\n",
" | \n",
" | __rshift__(self, value, /)\n",
" | Return self>>value.\n",
" | \n",
" | __rsub__(self, value, /)\n",
" | Return value-self.\n",
" | \n",
" | __rtruediv__(self, value, /)\n",
" | Return value/self.\n",
" | \n",
" | __rxor__(self, value, /)\n",
" | Return value^self.\n",
" | \n",
" | __setstate__(...)\n",
" | \n",
" | __sizeof__(...)\n",
" | Size of object in memory, in bytes.\n",
" | \n",
" | __sub__(self, value, /)\n",
" | Return self-value.\n",
" | \n",
" | __truediv__(self, value, /)\n",
" | Return self/value.\n",
" | \n",
" | __xor__(self, value, /)\n",
" | Return self^value.\n",
" | \n",
" | all(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | any(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmax(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argmin(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | argsort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | astype(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | byteswap(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | choose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | clip(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | compress(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | conj(...)\n",
" | \n",
" | conjugate(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | copy(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumprod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | cumsum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | diagonal(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dump(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | dumps(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | fill(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | flatten(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | item(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | itemset(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | max(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | mean(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | min(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | newbyteorder(...)\n",
" | newbyteorder(new_order='S')\n",
" | \n",
" | Return a new `dtype` with a different byte order.\n",
" | \n",
" | Changes are also made in all fields and sub-arrays of the data type.\n",
" | \n",
" | The `new_order` code can be any from the following:\n",
" | \n",
" | * 'S' - swap dtype from current to opposite endian\n",
" | * {'<', 'L'} - little endian\n",
" | * {'>', 'B'} - big endian\n",
" | * {'=', 'N'} - native order\n",
" | * {'|', 'I'} - ignore (no change to byte order)\n",
" | \n",
" | Parameters\n",
" | ----------\n",
" | new_order : str, optional\n",
" | Byte order to force; a value from the byte order specifications\n",
" | above. The default value ('S') results in swapping the current\n",
" | byte order. The code does a case-insensitive check on the first\n",
" | letter of `new_order` for the alternatives above. For example,\n",
" | any of 'B' or 'b' or 'biggish' are valid to specify big-endian.\n",
" | \n",
" | \n",
" | Returns\n",
" | -------\n",
" | new_dtype : dtype\n",
" | New `dtype` object with the given change to the byte order.\n",
" | \n",
" | nonzero(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | prod(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ptp(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | put(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ravel(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | repeat(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | reshape(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | resize(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | round(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | searchsorted(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | setflags(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class so as to\n",
" | provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sort(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | squeeze(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | std(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | sum(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | swapaxes(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | take(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tobytes(...)\n",
" | \n",
" | tofile(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tolist(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | tostring(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | trace(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | transpose(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | var(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | view(...)\n",
" | Not implemented (virtual attribute)\n",
" | \n",
" | Class generic exists solely to derive numpy scalars from, and possesses,\n",
" | albeit unimplemented, all the attributes of the ndarray class\n",
" | so as to provide a uniform API.\n",
" | \n",
" | See also the corresponding attribute of the derived class of interest.\n",
" | \n",
" | ----------------------------------------------------------------------\n",
" | Data descriptors inherited from generic:\n",
" | \n",
" | T\n",
" | transpose\n",
" | \n",
" | __array_interface__\n",
" | Array protocol: Python side\n",
" | \n",
" | __array_priority__\n",
" | Array priority.\n",
" | \n",
" | __array_struct__\n",
" | Array protocol: struct\n",
" | \n",
" | data\n",
" | pointer to start of data\n",
" | \n",
" | flat\n",
" | a 1-d view of scalar\n",
" | \n",
" | imag\n",
" | imaginary part of scalar\n",
" | \n",
" | itemsize\n",
" | length of one element in bytes\n",
" | \n",
" | nbytes\n",
" | length of item in bytes\n",
" | \n",
" | ndim\n",
" | number of array dimensions\n",
" | \n",
" | real\n",
" | real part of scalar\n",
" | \n",
" | shape\n",
" | tuple of array dimensions\n",
" | \n",
" | size\n",
" | number of elements in the gentype\n",
" | \n",
" | strides\n",
" | tuple of bytes steps in each dimension\n",
"\n",
"FUNCTIONS\n",
" _add_newdoc_ufunc(...)\n",
" scipy._add_newdoc_ufunc is deprecated and will be removed in SciPy 2.0.0, use numpy._add_newdoc_ufunc instead\n",
" \n",
" absolute(...)\n",
" scipy.absolute is deprecated and will be removed in SciPy 2.0.0, use numpy.absolute instead\n",
" \n",
" add(...)\n",
" scipy.add is deprecated and will be removed in SciPy 2.0.0, use numpy.add instead\n",
" \n",
" add_docstring(...)\n",
" scipy.add_docstring is deprecated and will be removed in SciPy 2.0.0, use numpy.add_docstring instead\n",
" \n",
" add_newdoc(place, obj, doc, warn_on_python=True)\n",
" scipy.add_newdoc is deprecated and will be removed in SciPy 2.0.0, use numpy.add_newdoc instead\n",
" \n",
" add_newdoc_ufunc = _add_newdoc_ufunc(...)\n",
" scipy.add_newdoc_ufunc is deprecated and will be removed in SciPy 2.0.0, use numpy.add_newdoc_ufunc instead\n",
" \n",
" alen(a)\n",
" scipy.alen is deprecated and will be removed in SciPy 2.0.0, use numpy.alen instead\n",
" \n",
" all(a, axis=None, out=None, keepdims=)\n",
" scipy.all is deprecated and will be removed in SciPy 2.0.0, use numpy.all instead\n",
" \n",
" allclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False)\n",
" scipy.allclose is deprecated and will be removed in SciPy 2.0.0, use numpy.allclose instead\n",
" \n",
" alltrue(*args, **kwargs)\n",
" scipy.alltrue is deprecated and will be removed in SciPy 2.0.0, use numpy.alltrue instead\n",
" \n",
" amax(a, axis=None, out=None, keepdims=, initial=, where=)\n",
" scipy.amax is deprecated and will be removed in SciPy 2.0.0, use numpy.amax instead\n",
" \n",
" amin(a, axis=None, out=None, keepdims=, initial=, where=)\n",
" scipy.amin is deprecated and will be removed in SciPy 2.0.0, use numpy.amin instead\n",
" \n",
" angle(z, deg=False)\n",
" scipy.angle is deprecated and will be removed in SciPy 2.0.0, use numpy.angle instead\n",
" \n",
" any(a, axis=None, out=None, keepdims=)\n",
" scipy.any is deprecated and will be removed in SciPy 2.0.0, use numpy.any instead\n",
" \n",
" append(arr, values, axis=None)\n",
" scipy.append is deprecated and will be removed in SciPy 2.0.0, use numpy.append instead\n",
" \n",
" apply_along_axis(func1d, axis, arr, *args, **kwargs)\n",
" scipy.apply_along_axis is deprecated and will be removed in SciPy 2.0.0, use numpy.apply_along_axis instead\n",
" \n",
" apply_over_axes(func, a, axes)\n",
" scipy.apply_over_axes is deprecated and will be removed in SciPy 2.0.0, use numpy.apply_over_axes instead\n",
" \n",
" arange(...)\n",
" scipy.arange is deprecated and will be removed in SciPy 2.0.0, use numpy.arange instead\n",
" \n",
" arccos(x)\n",
" scipy.arccos is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.arccos instead\n",
" \n",
" arccosh(...)\n",
" scipy.arccosh is deprecated and will be removed in SciPy 2.0.0, use numpy.arccosh instead\n",
" \n",
" arcsin(x)\n",
" scipy.arcsin is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.arcsin instead\n",
" \n",
" arcsinh(...)\n",
" scipy.arcsinh is deprecated and will be removed in SciPy 2.0.0, use numpy.arcsinh instead\n",
" \n",
" arctan(...)\n",
" scipy.arctan is deprecated and will be removed in SciPy 2.0.0, use numpy.arctan instead\n",
" \n",
" arctan2(...)\n",
" scipy.arctan2 is deprecated and will be removed in SciPy 2.0.0, use numpy.arctan2 instead\n",
" \n",
" arctanh(x)\n",
" scipy.arctanh is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.arctanh instead\n",
" \n",
" argmax(a, axis=None, out=None)\n",
" scipy.argmax is deprecated and will be removed in SciPy 2.0.0, use numpy.argmax instead\n",
" \n",
" argmin(a, axis=None, out=None)\n",
" scipy.argmin is deprecated and will be removed in SciPy 2.0.0, use numpy.argmin instead\n",
" \n",
" argpartition(a, kth, axis=-1, kind='introselect', order=None)\n",
" scipy.argpartition is deprecated and will be removed in SciPy 2.0.0, use numpy.argpartition instead\n",
" \n",
" argsort(a, axis=-1, kind=None, order=None)\n",
" scipy.argsort is deprecated and will be removed in SciPy 2.0.0, use numpy.argsort instead\n",
" \n",
" argwhere(a)\n",
" scipy.argwhere is deprecated and will be removed in SciPy 2.0.0, use numpy.argwhere instead\n",
" \n",
" around(a, decimals=0, out=None)\n",
" scipy.around is deprecated and will be removed in SciPy 2.0.0, use numpy.around instead\n",
" \n",
" array(...)\n",
" scipy.array is deprecated and will be removed in SciPy 2.0.0, use numpy.array instead\n",
" \n",
" array2string(a, max_line_width=None, precision=None, suppress_small=None, separator=' ', prefix='', style=, formatter=None, threshold=None, edgeitems=None, sign=None, floatmode=None, suffix='', *, legacy=None)\n",
" scipy.array2string is deprecated and will be removed in SciPy 2.0.0, use numpy.array2string instead\n",
" \n",
" array_equal(a1, a2, equal_nan=False)\n",
" scipy.array_equal is deprecated and will be removed in SciPy 2.0.0, use numpy.array_equal instead\n",
" \n",
" array_equiv(a1, a2)\n",
" scipy.array_equiv is deprecated and will be removed in SciPy 2.0.0, use numpy.array_equiv instead\n",
" \n",
" array_repr(arr, max_line_width=None, precision=None, suppress_small=None)\n",
" scipy.array_repr is deprecated and will be removed in SciPy 2.0.0, use numpy.array_repr instead\n",
" \n",
" array_split(ary, indices_or_sections, axis=0)\n",
" scipy.array_split is deprecated and will be removed in SciPy 2.0.0, use numpy.array_split instead\n",
" \n",
" array_str(a, max_line_width=None, precision=None, suppress_small=None)\n",
" scipy.array_str is deprecated and will be removed in SciPy 2.0.0, use numpy.array_str instead\n",
" \n",
" asanyarray(a, dtype=None, order=None)\n",
" scipy.asanyarray is deprecated and will be removed in SciPy 2.0.0, use numpy.asanyarray instead\n",
" \n",
" asarray(a, dtype=None, order=None)\n",
" scipy.asarray is deprecated and will be removed in SciPy 2.0.0, use numpy.asarray instead\n",
" \n",
" asarray_chkfinite(a, dtype=None, order=None)\n",
" scipy.asarray_chkfinite is deprecated and will be removed in SciPy 2.0.0, use numpy.asarray_chkfinite instead\n",
" \n",
" ascontiguousarray(a, dtype=None)\n",
" scipy.ascontiguousarray is deprecated and will be removed in SciPy 2.0.0, use numpy.ascontiguousarray instead\n",
" \n",
" asfarray(a, dtype=)\n",
" scipy.asfarray is deprecated and will be removed in SciPy 2.0.0, use numpy.asfarray instead\n",
" \n",
" asfortranarray(a, dtype=None)\n",
" scipy.asfortranarray is deprecated and will be removed in SciPy 2.0.0, use numpy.asfortranarray instead\n",
" \n",
" asmatrix(data, dtype=None)\n",
" scipy.asmatrix is deprecated and will be removed in SciPy 2.0.0, use numpy.asmatrix instead\n",
" \n",
" asscalar(a)\n",
" scipy.asscalar is deprecated and will be removed in SciPy 2.0.0, use numpy.asscalar instead\n",
" \n",
" atleast_1d(*arys)\n",
" scipy.atleast_1d is deprecated and will be removed in SciPy 2.0.0, use numpy.atleast_1d instead\n",
" \n",
" atleast_2d(*arys)\n",
" scipy.atleast_2d is deprecated and will be removed in SciPy 2.0.0, use numpy.atleast_2d instead\n",
" \n",
" atleast_3d(*arys)\n",
" scipy.atleast_3d is deprecated and will be removed in SciPy 2.0.0, use numpy.atleast_3d instead\n",
" \n",
" average(a, axis=None, weights=None, returned=False)\n",
" scipy.average is deprecated and will be removed in SciPy 2.0.0, use numpy.average instead\n",
" \n",
" bartlett(M)\n",
" scipy.bartlett is deprecated and will be removed in SciPy 2.0.0, use numpy.bartlett instead\n",
" \n",
" base_repr(number, base=2, padding=0)\n",
" scipy.base_repr is deprecated and will be removed in SciPy 2.0.0, use numpy.base_repr instead\n",
" \n",
" binary_repr(num, width=None)\n",
" scipy.binary_repr is deprecated and will be removed in SciPy 2.0.0, use numpy.binary_repr instead\n",
" \n",
" bincount(...)\n",
" scipy.bincount is deprecated and will be removed in SciPy 2.0.0, use numpy.bincount instead\n",
" \n",
" bitwise_and(...)\n",
" scipy.bitwise_and is deprecated and will be removed in SciPy 2.0.0, use numpy.bitwise_and instead\n",
" \n",
" bitwise_not = invert(...)\n",
" scipy.bitwise_not is deprecated and will be removed in SciPy 2.0.0, use numpy.bitwise_not instead\n",
" \n",
" bitwise_or(...)\n",
" scipy.bitwise_or is deprecated and will be removed in SciPy 2.0.0, use numpy.bitwise_or instead\n",
" \n",
" bitwise_xor(...)\n",
" scipy.bitwise_xor is deprecated and will be removed in SciPy 2.0.0, use numpy.bitwise_xor instead\n",
" \n",
" blackman(M)\n",
" scipy.blackman is deprecated and will be removed in SciPy 2.0.0, use numpy.blackman instead\n",
" \n",
" block(arrays)\n",
" scipy.block is deprecated and will be removed in SciPy 2.0.0, use numpy.block instead\n",
" \n",
" bmat(obj, ldict=None, gdict=None)\n",
" scipy.bmat is deprecated and will be removed in SciPy 2.0.0, use numpy.bmat instead\n",
" \n",
" broadcast_arrays(*args, subok=False)\n",
" scipy.broadcast_arrays is deprecated and will be removed in SciPy 2.0.0, use numpy.broadcast_arrays instead\n",
" \n",
" broadcast_to(array, shape, subok=False)\n",
" scipy.broadcast_to is deprecated and will be removed in SciPy 2.0.0, use numpy.broadcast_to instead\n",
" \n",
" busday_count(...)\n",
" scipy.busday_count is deprecated and will be removed in SciPy 2.0.0, use numpy.busday_count instead\n",
" \n",
" busday_offset(...)\n",
" scipy.busday_offset is deprecated and will be removed in SciPy 2.0.0, use numpy.busday_offset instead\n",
" \n",
" byte_bounds(a)\n",
" scipy.byte_bounds is deprecated and will be removed in SciPy 2.0.0, use numpy.byte_bounds instead\n",
" \n",
" can_cast(...)\n",
" scipy.can_cast is deprecated and will be removed in SciPy 2.0.0, use numpy.can_cast instead\n",
" \n",
" cbrt(...)\n",
" scipy.cbrt is deprecated and will be removed in SciPy 2.0.0, use numpy.cbrt instead\n",
" \n",
" ceil(...)\n",
" scipy.ceil is deprecated and will be removed in SciPy 2.0.0, use numpy.ceil instead\n",
" \n",
" choose(a, choices, out=None, mode='raise')\n",
" scipy.choose is deprecated and will be removed in SciPy 2.0.0, use numpy.choose instead\n",
" \n",
" clip(a, a_min, a_max, out=None, **kwargs)\n",
" scipy.clip is deprecated and will be removed in SciPy 2.0.0, use numpy.clip instead\n",
" \n",
" column_stack(tup)\n",
" scipy.column_stack is deprecated and will be removed in SciPy 2.0.0, use numpy.column_stack instead\n",
" \n",
" common_type(*arrays)\n",
" scipy.common_type is deprecated and will be removed in SciPy 2.0.0, use numpy.common_type instead\n",
" \n",
" compare_chararrays(...)\n",
" scipy.compare_chararrays is deprecated and will be removed in SciPy 2.0.0, use numpy.compare_chararrays instead\n",
" \n",
" compress(condition, a, axis=None, out=None)\n",
" scipy.compress is deprecated and will be removed in SciPy 2.0.0, use numpy.compress instead\n",
" \n",
" concatenate(...)\n",
" scipy.concatenate is deprecated and will be removed in SciPy 2.0.0, use numpy.concatenate instead\n",
" \n",
" conj = conjugate(...)\n",
" scipy.conj is deprecated and will be removed in SciPy 2.0.0, use numpy.conj instead\n",
" \n",
" conjugate(...)\n",
" scipy.conjugate is deprecated and will be removed in SciPy 2.0.0, use numpy.conjugate instead\n",
" \n",
" convolve(a, v, mode='full')\n",
" scipy.convolve is deprecated and will be removed in SciPy 2.0.0, use numpy.convolve instead\n",
" \n",
" copy(a, order='K', subok=False)\n",
" scipy.copy is deprecated and will be removed in SciPy 2.0.0, use numpy.copy instead\n",
" \n",
" copysign(...)\n",
" scipy.copysign is deprecated and will be removed in SciPy 2.0.0, use numpy.copysign instead\n",
" \n",
" copyto(...)\n",
" scipy.copyto is deprecated and will be removed in SciPy 2.0.0, use numpy.copyto instead\n",
" \n",
" corrcoef(x, y=None, rowvar=True, bias=, ddof=)\n",
" scipy.corrcoef is deprecated and will be removed in SciPy 2.0.0, use numpy.corrcoef instead\n",
" \n",
" correlate(a, v, mode='valid')\n",
" scipy.correlate is deprecated and will be removed in SciPy 2.0.0, use numpy.correlate instead\n",
" \n",
" cos(...)\n",
" scipy.cos is deprecated and will be removed in SciPy 2.0.0, use numpy.cos instead\n",
" \n",
" cosh(...)\n",
" scipy.cosh is deprecated and will be removed in SciPy 2.0.0, use numpy.cosh instead\n",
" \n",
" count_nonzero(a, axis=None, *, keepdims=False)\n",
" scipy.count_nonzero is deprecated and will be removed in SciPy 2.0.0, use numpy.count_nonzero instead\n",
" \n",
" cov(m, y=None, rowvar=True, bias=False, ddof=None, fweights=None, aweights=None)\n",
" scipy.cov is deprecated and will be removed in SciPy 2.0.0, use numpy.cov instead\n",
" \n",
" cross(a, b, axisa=-1, axisb=-1, axisc=-1, axis=None)\n",
" scipy.cross is deprecated and will be removed in SciPy 2.0.0, use numpy.cross instead\n",
" \n",
" cumprod(a, axis=None, dtype=None, out=None)\n",
" scipy.cumprod is deprecated and will be removed in SciPy 2.0.0, use numpy.cumprod instead\n",
" \n",
" cumproduct(*args, **kwargs)\n",
" scipy.cumproduct is deprecated and will be removed in SciPy 2.0.0, use numpy.cumproduct instead\n",
" \n",
" cumsum(a, axis=None, dtype=None, out=None)\n",
" scipy.cumsum is deprecated and will be removed in SciPy 2.0.0, use numpy.cumsum instead\n",
" \n",
" datetime_as_string(...)\n",
" scipy.datetime_as_string is deprecated and will be removed in SciPy 2.0.0, use numpy.datetime_as_string instead\n",
" \n",
" datetime_data(...)\n",
" scipy.datetime_data is deprecated and will be removed in SciPy 2.0.0, use numpy.datetime_data instead\n",
" \n",
" deg2rad(...)\n",
" scipy.deg2rad is deprecated and will be removed in SciPy 2.0.0, use numpy.deg2rad instead\n",
" \n",
" degrees(...)\n",
" scipy.degrees is deprecated and will be removed in SciPy 2.0.0, use numpy.degrees instead\n",
" \n",
" delete(arr, obj, axis=None)\n",
" scipy.delete is deprecated and will be removed in SciPy 2.0.0, use numpy.delete instead\n",
" \n",
" deprecate(*args, **kwargs)\n",
" scipy.deprecate is deprecated and will be removed in SciPy 2.0.0, use numpy.deprecate instead\n",
" \n",
" deprecate_with_doc lambda msg\n",
" scipy.deprecate_with_doc is deprecated and will be removed in SciPy 2.0.0, use numpy.deprecate_with_doc instead\n",
" \n",
" diag(v, k=0)\n",
" scipy.diag is deprecated and will be removed in SciPy 2.0.0, use numpy.diag instead\n",
" \n",
" diag_indices(n, ndim=2)\n",
" scipy.diag_indices is deprecated and will be removed in SciPy 2.0.0, use numpy.diag_indices instead\n",
" \n",
" diag_indices_from(arr)\n",
" scipy.diag_indices_from is deprecated and will be removed in SciPy 2.0.0, use numpy.diag_indices_from instead\n",
" \n",
" diagflat(v, k=0)\n",
" scipy.diagflat is deprecated and will be removed in SciPy 2.0.0, use numpy.diagflat instead\n",
" \n",
" diagonal(a, offset=0, axis1=0, axis2=1)\n",
" scipy.diagonal is deprecated and will be removed in SciPy 2.0.0, use numpy.diagonal instead\n",
" \n",
" diff(a, n=1, axis=-1, prepend=, append=)\n",
" scipy.diff is deprecated and will be removed in SciPy 2.0.0, use numpy.diff instead\n",
" \n",
" digitize(x, bins, right=False)\n",
" scipy.digitize is deprecated and will be removed in SciPy 2.0.0, use numpy.digitize instead\n",
" \n",
" disp(mesg, device=None, linefeed=True)\n",
" scipy.disp is deprecated and will be removed in SciPy 2.0.0, use numpy.disp instead\n",
" \n",
" divide = true_divide(...)\n",
" scipy.divide is deprecated and will be removed in SciPy 2.0.0, use numpy.divide instead\n",
" \n",
" divmod(...)\n",
" scipy.divmod is deprecated and will be removed in SciPy 2.0.0, use numpy.divmod instead\n",
" \n",
" dot(...)\n",
" scipy.dot is deprecated and will be removed in SciPy 2.0.0, use numpy.dot instead\n",
" \n",
" dsplit(ary, indices_or_sections)\n",
" scipy.dsplit is deprecated and will be removed in SciPy 2.0.0, use numpy.dsplit instead\n",
" \n",
" dstack(tup)\n",
" scipy.dstack is deprecated and will be removed in SciPy 2.0.0, use numpy.dstack instead\n",
" \n",
" ediff1d(ary, to_end=None, to_begin=None)\n",
" scipy.ediff1d is deprecated and will be removed in SciPy 2.0.0, use numpy.ediff1d instead\n",
" \n",
" einsum(*operands, out=None, optimize=False, **kwargs)\n",
" scipy.einsum is deprecated and will be removed in SciPy 2.0.0, use numpy.einsum instead\n",
" \n",
" einsum_path(*operands, optimize='greedy', einsum_call=False)\n",
" scipy.einsum_path is deprecated and will be removed in SciPy 2.0.0, use numpy.einsum_path instead\n",
" \n",
" empty(...)\n",
" scipy.empty is deprecated and will be removed in SciPy 2.0.0, use numpy.empty instead\n",
" \n",
" empty_like(...)\n",
" scipy.empty_like is deprecated and will be removed in SciPy 2.0.0, use numpy.empty_like instead\n",
" \n",
" equal(...)\n",
" scipy.equal is deprecated and will be removed in SciPy 2.0.0, use numpy.equal instead\n",
" \n",
" exp(...)\n",
" scipy.exp is deprecated and will be removed in SciPy 2.0.0, use numpy.exp instead\n",
" \n",
" exp2(...)\n",
" scipy.exp2 is deprecated and will be removed in SciPy 2.0.0, use numpy.exp2 instead\n",
" \n",
" expand_dims(a, axis)\n",
" scipy.expand_dims is deprecated and will be removed in SciPy 2.0.0, use numpy.expand_dims instead\n",
" \n",
" expm1(...)\n",
" scipy.expm1 is deprecated and will be removed in SciPy 2.0.0, use numpy.expm1 instead\n",
" \n",
" extract(condition, arr)\n",
" scipy.extract is deprecated and will be removed in SciPy 2.0.0, use numpy.extract instead\n",
" \n",
" eye(N, M=None, k=0, dtype=, order='C')\n",
" scipy.eye is deprecated and will be removed in SciPy 2.0.0, use numpy.eye instead\n",
" \n",
" fabs(...)\n",
" scipy.fabs is deprecated and will be removed in SciPy 2.0.0, use numpy.fabs instead\n",
" \n",
" fastCopyAndTranspose = _fastCopyAndTranspose(...)\n",
" scipy.fastCopyAndTranspose is deprecated and will be removed in SciPy 2.0.0, use numpy.fastCopyAndTranspose instead\n",
" \n",
" fill_diagonal(a, val, wrap=False)\n",
" scipy.fill_diagonal is deprecated and will be removed in SciPy 2.0.0, use numpy.fill_diagonal instead\n",
" \n",
" find_common_type(array_types, scalar_types)\n",
" scipy.find_common_type is deprecated and will be removed in SciPy 2.0.0, use numpy.find_common_type instead\n",
" \n",
" fix(x, out=None)\n",
" scipy.fix is deprecated and will be removed in SciPy 2.0.0, use numpy.fix instead\n",
" \n",
" flatnonzero(a)\n",
" scipy.flatnonzero is deprecated and will be removed in SciPy 2.0.0, use numpy.flatnonzero instead\n",
" \n",
" flip(m, axis=None)\n",
" scipy.flip is deprecated and will be removed in SciPy 2.0.0, use numpy.flip instead\n",
" \n",
" fliplr(m)\n",
" scipy.fliplr is deprecated and will be removed in SciPy 2.0.0, use numpy.fliplr instead\n",
" \n",
" flipud(m)\n",
" scipy.flipud is deprecated and will be removed in SciPy 2.0.0, use numpy.flipud instead\n",
" \n",
" float_power(...)\n",
" scipy.float_power is deprecated and will be removed in SciPy 2.0.0, use numpy.float_power instead\n",
" \n",
" floor(...)\n",
" scipy.floor is deprecated and will be removed in SciPy 2.0.0, use numpy.floor instead\n",
" \n",
" floor_divide(...)\n",
" scipy.floor_divide is deprecated and will be removed in SciPy 2.0.0, use numpy.floor_divide instead\n",
" \n",
" fmax(...)\n",
" scipy.fmax is deprecated and will be removed in SciPy 2.0.0, use numpy.fmax instead\n",
" \n",
" fmin(...)\n",
" scipy.fmin is deprecated and will be removed in SciPy 2.0.0, use numpy.fmin instead\n",
" \n",
" fmod(...)\n",
" scipy.fmod is deprecated and will be removed in SciPy 2.0.0, use numpy.fmod instead\n",
" \n",
" format_float_positional(x, precision=None, unique=True, fractional=True, trim='k', sign=False, pad_left=None, pad_right=None)\n",
" scipy.format_float_positional is deprecated and will be removed in SciPy 2.0.0, use numpy.format_float_positional instead\n",
" \n",
" format_float_scientific(x, precision=None, unique=True, trim='k', sign=False, pad_left=None, exp_digits=None)\n",
" scipy.format_float_scientific is deprecated and will be removed in SciPy 2.0.0, use numpy.format_float_scientific instead\n",
" \n",
" frexp(...)\n",
" scipy.frexp is deprecated and will be removed in SciPy 2.0.0, use numpy.frexp instead\n",
" \n",
" frombuffer(...)\n",
" scipy.frombuffer is deprecated and will be removed in SciPy 2.0.0, use numpy.frombuffer instead\n",
" \n",
" fromfile(...)\n",
" scipy.fromfile is deprecated and will be removed in SciPy 2.0.0, use numpy.fromfile instead\n",
" \n",
" fromfunction(function, shape, *, dtype=, **kwargs)\n",
" scipy.fromfunction is deprecated and will be removed in SciPy 2.0.0, use numpy.fromfunction instead\n",
" \n",
" fromiter(...)\n",
" scipy.fromiter is deprecated and will be removed in SciPy 2.0.0, use numpy.fromiter instead\n",
" \n",
" frompyfunc(...)\n",
" scipy.frompyfunc is deprecated and will be removed in SciPy 2.0.0, use numpy.frompyfunc instead\n",
" \n",
" fromregex(file, regexp, dtype, encoding=None)\n",
" scipy.fromregex is deprecated and will be removed in SciPy 2.0.0, use numpy.fromregex instead\n",
" \n",
" fromstring(...)\n",
" scipy.fromstring is deprecated and will be removed in SciPy 2.0.0, use numpy.fromstring instead\n",
" \n",
" full(shape, fill_value, dtype=None, order='C')\n",
" scipy.full is deprecated and will be removed in SciPy 2.0.0, use numpy.full instead\n",
" \n",
" full_like(a, fill_value, dtype=None, order='K', subok=True, shape=None)\n",
" scipy.full_like is deprecated and will be removed in SciPy 2.0.0, use numpy.full_like instead\n",
" \n",
" fv(rate, nper, pmt, pv, when='end')\n",
" scipy.fv is deprecated and will be removed in SciPy 2.0.0, use numpy.fv instead\n",
" \n",
" gcd(...)\n",
" scipy.gcd is deprecated and will be removed in SciPy 2.0.0, use numpy.gcd instead\n",
" \n",
" genfromtxt(fname, dtype=, comments='#', delimiter=None, skip_header=0, skip_footer=0, converters=None, missing_values=None, filling_values=None, usecols=None, names=None, excludelist=None, deletechars=\" !#$%&'()*+,-./:;<=>?@[\\\\]^{|}~\", replace_space='_', autostrip=False, case_sensitive=True, defaultfmt='f%i', unpack=None, usemask=False, loose=True, invalid_raise=True, max_rows=None, encoding='bytes')\n",
" scipy.genfromtxt is deprecated and will be removed in SciPy 2.0.0, use numpy.genfromtxt instead\n",
" \n",
" geomspace(start, stop, num=50, endpoint=True, dtype=None, axis=0)\n",
" scipy.geomspace is deprecated and will be removed in SciPy 2.0.0, use numpy.geomspace instead\n",
" \n",
" get_array_wrap(*args)\n",
" scipy.get_array_wrap is deprecated and will be removed in SciPy 2.0.0, use numpy.get_array_wrap instead\n",
" \n",
" get_include()\n",
" scipy.get_include is deprecated and will be removed in SciPy 2.0.0, use numpy.get_include instead\n",
" \n",
" get_printoptions()\n",
" scipy.get_printoptions is deprecated and will be removed in SciPy 2.0.0, use numpy.get_printoptions instead\n",
" \n",
" getbufsize()\n",
" scipy.getbufsize is deprecated and will be removed in SciPy 2.0.0, use numpy.getbufsize instead\n",
" \n",
" geterr()\n",
" scipy.geterr is deprecated and will be removed in SciPy 2.0.0, use numpy.geterr instead\n",
" \n",
" geterrcall()\n",
" scipy.geterrcall is deprecated and will be removed in SciPy 2.0.0, use numpy.geterrcall instead\n",
" \n",
" geterrobj(...)\n",
" scipy.geterrobj is deprecated and will be removed in SciPy 2.0.0, use numpy.geterrobj instead\n",
" \n",
" gradient(f, *varargs, axis=None, edge_order=1)\n",
" scipy.gradient is deprecated and will be removed in SciPy 2.0.0, use numpy.gradient instead\n",
" \n",
" greater(...)\n",
" scipy.greater is deprecated and will be removed in SciPy 2.0.0, use numpy.greater instead\n",
" \n",
" greater_equal(...)\n",
" scipy.greater_equal is deprecated and will be removed in SciPy 2.0.0, use numpy.greater_equal instead\n",
" \n",
" hamming(M)\n",
" scipy.hamming is deprecated and will be removed in SciPy 2.0.0, use numpy.hamming instead\n",
" \n",
" hanning(M)\n",
" scipy.hanning is deprecated and will be removed in SciPy 2.0.0, use numpy.hanning instead\n",
" \n",
" heaviside(...)\n",
" scipy.heaviside is deprecated and will be removed in SciPy 2.0.0, use numpy.heaviside instead\n",
" \n",
" histogram(a, bins=10, range=None, normed=None, weights=None, density=None)\n",
" scipy.histogram is deprecated and will be removed in SciPy 2.0.0, use numpy.histogram instead\n",
" \n",
" histogram2d(x, y, bins=10, range=None, normed=None, weights=None, density=None)\n",
" scipy.histogram2d is deprecated and will be removed in SciPy 2.0.0, use numpy.histogram2d instead\n",
" \n",
" histogram_bin_edges(a, bins=10, range=None, weights=None)\n",
" scipy.histogram_bin_edges is deprecated and will be removed in SciPy 2.0.0, use numpy.histogram_bin_edges instead\n",
" \n",
" histogramdd(sample, bins=10, range=None, normed=None, weights=None, density=None)\n",
" scipy.histogramdd is deprecated and will be removed in SciPy 2.0.0, use numpy.histogramdd instead\n",
" \n",
" hsplit(ary, indices_or_sections)\n",
" scipy.hsplit is deprecated and will be removed in SciPy 2.0.0, use numpy.hsplit instead\n",
" \n",
" hstack(tup)\n",
" scipy.hstack is deprecated and will be removed in SciPy 2.0.0, use numpy.hstack instead\n",
" \n",
" hypot(...)\n",
" scipy.hypot is deprecated and will be removed in SciPy 2.0.0, use numpy.hypot instead\n",
" \n",
" i0(x)\n",
" scipy.i0 is deprecated and will be removed in SciPy 2.0.0, use numpy.i0 instead\n",
" \n",
" identity(n, dtype=None)\n",
" scipy.identity is deprecated and will be removed in SciPy 2.0.0, use numpy.identity instead\n",
" \n",
" ifft(a, n=None, axis=-1, norm=None)\n",
" scipy.ifft is deprecated and will be removed in SciPy 2.0.0, use scipy.fft.ifft instead\n",
" \n",
" imag(val)\n",
" scipy.imag is deprecated and will be removed in SciPy 2.0.0, use numpy.imag instead\n",
" \n",
" in1d(ar1, ar2, assume_unique=False, invert=False)\n",
" scipy.in1d is deprecated and will be removed in SciPy 2.0.0, use numpy.in1d instead\n",
" \n",
" indices(dimensions, dtype=, sparse=False)\n",
" scipy.indices is deprecated and will be removed in SciPy 2.0.0, use numpy.indices instead\n",
" \n",
" info(object=None, maxwidth=76, output=, toplevel='numpy')\n",
" scipy.info is deprecated and will be removed in SciPy 2.0.0, use numpy.info instead\n",
" \n",
" inner(...)\n",
" scipy.inner is deprecated and will be removed in SciPy 2.0.0, use numpy.inner instead\n",
" \n",
" insert(arr, obj, values, axis=None)\n",
" scipy.insert is deprecated and will be removed in SciPy 2.0.0, use numpy.insert instead\n",
" \n",
" interp(x, xp, fp, left=None, right=None, period=None)\n",
" scipy.interp is deprecated and will be removed in SciPy 2.0.0, use numpy.interp instead\n",
" \n",
" intersect1d(ar1, ar2, assume_unique=False, return_indices=False)\n",
" scipy.intersect1d is deprecated and will be removed in SciPy 2.0.0, use numpy.intersect1d instead\n",
" \n",
" invert(...)\n",
" scipy.invert is deprecated and will be removed in SciPy 2.0.0, use numpy.invert instead\n",
" \n",
" ipmt(rate, per, nper, pv, fv=0, when='end')\n",
" scipy.ipmt is deprecated and will be removed in SciPy 2.0.0, use numpy.ipmt instead\n",
" \n",
" irr(values)\n",
" scipy.irr is deprecated and will be removed in SciPy 2.0.0, use numpy.irr instead\n",
" \n",
" is_busday(...)\n",
" scipy.is_busday is deprecated and will be removed in SciPy 2.0.0, use numpy.is_busday instead\n",
" \n",
" isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False)\n",
" scipy.isclose is deprecated and will be removed in SciPy 2.0.0, use numpy.isclose instead\n",
" \n",
" iscomplex(x)\n",
" scipy.iscomplex is deprecated and will be removed in SciPy 2.0.0, use numpy.iscomplex instead\n",
" \n",
" iscomplexobj(x)\n",
" scipy.iscomplexobj is deprecated and will be removed in SciPy 2.0.0, use numpy.iscomplexobj instead\n",
" \n",
" isfinite(...)\n",
" scipy.isfinite is deprecated and will be removed in SciPy 2.0.0, use numpy.isfinite instead\n",
" \n",
" isfortran(a)\n",
" scipy.isfortran is deprecated and will be removed in SciPy 2.0.0, use numpy.isfortran instead\n",
" \n",
" isin(element, test_elements, assume_unique=False, invert=False)\n",
" scipy.isin is deprecated and will be removed in SciPy 2.0.0, use numpy.isin instead\n",
" \n",
" isinf(...)\n",
" scipy.isinf is deprecated and will be removed in SciPy 2.0.0, use numpy.isinf instead\n",
" \n",
" isnan(...)\n",
" scipy.isnan is deprecated and will be removed in SciPy 2.0.0, use numpy.isnan instead\n",
" \n",
" isnat(...)\n",
" scipy.isnat is deprecated and will be removed in SciPy 2.0.0, use numpy.isnat instead\n",
" \n",
" isneginf(x, out=None)\n",
" scipy.isneginf is deprecated and will be removed in SciPy 2.0.0, use numpy.isneginf instead\n",
" \n",
" isposinf(x, out=None)\n",
" scipy.isposinf is deprecated and will be removed in SciPy 2.0.0, use numpy.isposinf instead\n",
" \n",
" isreal(x)\n",
" scipy.isreal is deprecated and will be removed in SciPy 2.0.0, use numpy.isreal instead\n",
" \n",
" isrealobj(x)\n",
" scipy.isrealobj is deprecated and will be removed in SciPy 2.0.0, use numpy.isrealobj instead\n",
" \n",
" isscalar(element)\n",
" scipy.isscalar is deprecated and will be removed in SciPy 2.0.0, use numpy.isscalar instead\n",
" \n",
" issctype(rep)\n",
" scipy.issctype is deprecated and will be removed in SciPy 2.0.0, use numpy.issctype instead\n",
" \n",
" issubclass_(arg1, arg2)\n",
" scipy.issubclass_ is deprecated and will be removed in SciPy 2.0.0, use numpy.issubclass_ instead\n",
" \n",
" issubdtype(arg1, arg2)\n",
" scipy.issubdtype is deprecated and will be removed in SciPy 2.0.0, use numpy.issubdtype instead\n",
" \n",
" issubsctype(arg1, arg2)\n",
" scipy.issubsctype is deprecated and will be removed in SciPy 2.0.0, use numpy.issubsctype instead\n",
" \n",
" iterable(y)\n",
" scipy.iterable is deprecated and will be removed in SciPy 2.0.0, use numpy.iterable instead\n",
" \n",
" ix_(*args)\n",
" scipy.ix_ is deprecated and will be removed in SciPy 2.0.0, use numpy.ix_ instead\n",
" \n",
" kaiser(M, beta)\n",
" scipy.kaiser is deprecated and will be removed in SciPy 2.0.0, use numpy.kaiser instead\n",
" \n",
" kron(a, b)\n",
" scipy.kron is deprecated and will be removed in SciPy 2.0.0, use numpy.kron instead\n",
" \n",
" lcm(...)\n",
" scipy.lcm is deprecated and will be removed in SciPy 2.0.0, use numpy.lcm instead\n",
" \n",
" ldexp(...)\n",
" scipy.ldexp is deprecated and will be removed in SciPy 2.0.0, use numpy.ldexp instead\n",
" \n",
" left_shift(...)\n",
" scipy.left_shift is deprecated and will be removed in SciPy 2.0.0, use numpy.left_shift instead\n",
" \n",
" less(...)\n",
" scipy.less is deprecated and will be removed in SciPy 2.0.0, use numpy.less instead\n",
" \n",
" less_equal(...)\n",
" scipy.less_equal is deprecated and will be removed in SciPy 2.0.0, use numpy.less_equal instead\n",
" \n",
" lexsort(...)\n",
" scipy.lexsort is deprecated and will be removed in SciPy 2.0.0, use numpy.lexsort instead\n",
" \n",
" linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, axis=0)\n",
" scipy.linspace is deprecated and will be removed in SciPy 2.0.0, use numpy.linspace instead\n",
" \n",
" load(file, mmap_mode=None, allow_pickle=False, fix_imports=True, encoding='ASCII')\n",
" scipy.load is deprecated and will be removed in SciPy 2.0.0, use numpy.load instead\n",
" \n",
" loads(*args, **kwargs)\n",
" scipy.loads is deprecated and will be removed in SciPy 2.0.0, use numpy.loads instead\n",
" \n",
" loadtxt(fname, dtype=, comments='#', delimiter=None, converters=None, skiprows=0, usecols=None, unpack=False, ndmin=0, encoding='bytes', max_rows=None)\n",
" scipy.loadtxt is deprecated and will be removed in SciPy 2.0.0, use numpy.loadtxt instead\n",
" \n",
" log(x)\n",
" scipy.log is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.log instead\n",
" \n",
" log10(x)\n",
" scipy.log10 is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.log10 instead\n",
" \n",
" log1p(...)\n",
" scipy.log1p is deprecated and will be removed in SciPy 2.0.0, use numpy.log1p instead\n",
" \n",
" log2(x)\n",
" scipy.log2 is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.log2 instead\n",
" \n",
" logaddexp(...)\n",
" scipy.logaddexp is deprecated and will be removed in SciPy 2.0.0, use numpy.logaddexp instead\n",
" \n",
" logaddexp2(...)\n",
" scipy.logaddexp2 is deprecated and will be removed in SciPy 2.0.0, use numpy.logaddexp2 instead\n",
" \n",
" logical_and(...)\n",
" scipy.logical_and is deprecated and will be removed in SciPy 2.0.0, use numpy.logical_and instead\n",
" \n",
" logical_not(...)\n",
" scipy.logical_not is deprecated and will be removed in SciPy 2.0.0, use numpy.logical_not instead\n",
" \n",
" logical_or(...)\n",
" scipy.logical_or is deprecated and will be removed in SciPy 2.0.0, use numpy.logical_or instead\n",
" \n",
" logical_xor(...)\n",
" scipy.logical_xor is deprecated and will be removed in SciPy 2.0.0, use numpy.logical_xor instead\n",
" \n",
" logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None, axis=0)\n",
" scipy.logspace is deprecated and will be removed in SciPy 2.0.0, use numpy.logspace instead\n",
" \n",
" lookfor(what, module=None, import_modules=True, regenerate=False, output=None)\n",
" scipy.lookfor is deprecated and will be removed in SciPy 2.0.0, use numpy.lookfor instead\n",
" \n",
" mafromtxt(fname, **kwargs)\n",
" scipy.mafromtxt is deprecated and will be removed in SciPy 2.0.0, use numpy.mafromtxt instead\n",
" \n",
" mask_indices(n, mask_func, k=0)\n",
" scipy.mask_indices is deprecated and will be removed in SciPy 2.0.0, use numpy.mask_indices instead\n",
" \n",
" mat = asmatrix(data, dtype=None)\n",
" scipy.mat is deprecated and will be removed in SciPy 2.0.0, use numpy.mat instead\n",
" \n",
" matmul(...)\n",
" scipy.matmul is deprecated and will be removed in SciPy 2.0.0, use numpy.matmul instead\n",
" \n",
" maximum(...)\n",
" scipy.maximum is deprecated and will be removed in SciPy 2.0.0, use numpy.maximum instead\n",
" \n",
" maximum_sctype(t)\n",
" scipy.maximum_sctype is deprecated and will be removed in SciPy 2.0.0, use numpy.maximum_sctype instead\n",
" \n",
" may_share_memory(...)\n",
" scipy.may_share_memory is deprecated and will be removed in SciPy 2.0.0, use numpy.may_share_memory instead\n",
" \n",
" mean(a, axis=None, dtype=None, out=None, keepdims=)\n",
" scipy.mean is deprecated and will be removed in SciPy 2.0.0, use numpy.mean instead\n",
" \n",
" median(a, axis=None, out=None, overwrite_input=False, keepdims=False)\n",
" scipy.median is deprecated and will be removed in SciPy 2.0.0, use numpy.median instead\n",
" \n",
" meshgrid(*xi, copy=True, sparse=False, indexing='xy')\n",
" scipy.meshgrid is deprecated and will be removed in SciPy 2.0.0, use numpy.meshgrid instead\n",
" \n",
" min_scalar_type(...)\n",
" scipy.min_scalar_type is deprecated and will be removed in SciPy 2.0.0, use numpy.min_scalar_type instead\n",
" \n",
" minimum(...)\n",
" scipy.minimum is deprecated and will be removed in SciPy 2.0.0, use numpy.minimum instead\n",
" \n",
" mintypecode(typechars, typeset='GDFgdf', default='d')\n",
" scipy.mintypecode is deprecated and will be removed in SciPy 2.0.0, use numpy.mintypecode instead\n",
" \n",
" mirr(values, finance_rate, reinvest_rate)\n",
" scipy.mirr is deprecated and will be removed in SciPy 2.0.0, use numpy.mirr instead\n",
" \n",
" mod = remainder(...)\n",
" scipy.mod is deprecated and will be removed in SciPy 2.0.0, use numpy.mod instead\n",
" \n",
" modf(...)\n",
" scipy.modf is deprecated and will be removed in SciPy 2.0.0, use numpy.modf instead\n",
" \n",
" moveaxis(a, source, destination)\n",
" scipy.moveaxis is deprecated and will be removed in SciPy 2.0.0, use numpy.moveaxis instead\n",
" \n",
" msort(a)\n",
" scipy.msort is deprecated and will be removed in SciPy 2.0.0, use numpy.msort instead\n",
" \n",
" multiply(...)\n",
" scipy.multiply is deprecated and will be removed in SciPy 2.0.0, use numpy.multiply instead\n",
" \n",
" nan_to_num(x, copy=True, nan=0.0, posinf=None, neginf=None)\n",
" scipy.nan_to_num is deprecated and will be removed in SciPy 2.0.0, use numpy.nan_to_num instead\n",
" \n",
" nanargmax(a, axis=None)\n",
" scipy.nanargmax is deprecated and will be removed in SciPy 2.0.0, use numpy.nanargmax instead\n",
" \n",
" nanargmin(a, axis=None)\n",
" scipy.nanargmin is deprecated and will be removed in SciPy 2.0.0, use numpy.nanargmin instead\n",
" \n",
" nancumprod(a, axis=None, dtype=None, out=None)\n",
" scipy.nancumprod is deprecated and will be removed in SciPy 2.0.0, use numpy.nancumprod instead\n",
" \n",
" nancumsum(a, axis=None, dtype=None, out=None)\n",
" scipy.nancumsum is deprecated and will be removed in SciPy 2.0.0, use numpy.nancumsum instead\n",
" \n",
" nanmax(a, axis=None, out=None, keepdims=)\n",
" scipy.nanmax is deprecated and will be removed in SciPy 2.0.0, use numpy.nanmax instead\n",
" \n",
" nanmean(a, axis=None, dtype=None, out=None, keepdims=)\n",
" scipy.nanmean is deprecated and will be removed in SciPy 2.0.0, use numpy.nanmean instead\n",
" \n",
" nanmedian(a, axis=None, out=None, overwrite_input=False, keepdims=)\n",
" scipy.nanmedian is deprecated and will be removed in SciPy 2.0.0, use numpy.nanmedian instead\n",
" \n",
" nanmin(a, axis=None, out=None, keepdims=)\n",
" scipy.nanmin is deprecated and will be removed in SciPy 2.0.0, use numpy.nanmin instead\n",
" \n",
" nanpercentile(a, q, axis=None, out=None, overwrite_input=False, interpolation='linear', keepdims=)\n",
" scipy.nanpercentile is deprecated and will be removed in SciPy 2.0.0, use numpy.nanpercentile instead\n",
" \n",
" nanprod(a, axis=None, dtype=None, out=None, keepdims=)\n",
" scipy.nanprod is deprecated and will be removed in SciPy 2.0.0, use numpy.nanprod instead\n",
" \n",
" nanquantile(a, q, axis=None, out=None, overwrite_input=False, interpolation='linear', keepdims=)\n",
" scipy.nanquantile is deprecated and will be removed in SciPy 2.0.0, use numpy.nanquantile instead\n",
" \n",
" nanstd(a, axis=None, dtype=None, out=None, ddof=0, keepdims=)\n",
" scipy.nanstd is deprecated and will be removed in SciPy 2.0.0, use numpy.nanstd instead\n",
" \n",
" nansum(a, axis=None, dtype=None, out=None, keepdims=)\n",
" scipy.nansum is deprecated and will be removed in SciPy 2.0.0, use numpy.nansum instead\n",
" \n",
" nanvar(a, axis=None, dtype=None, out=None, ddof=0, keepdims=)\n",
" scipy.nanvar is deprecated and will be removed in SciPy 2.0.0, use numpy.nanvar instead\n",
" \n",
" ndfromtxt(fname, **kwargs)\n",
" scipy.ndfromtxt is deprecated and will be removed in SciPy 2.0.0, use numpy.ndfromtxt instead\n",
" \n",
" ndim(a)\n",
" scipy.ndim is deprecated and will be removed in SciPy 2.0.0, use numpy.ndim instead\n",
" \n",
" negative(...)\n",
" scipy.negative is deprecated and will be removed in SciPy 2.0.0, use numpy.negative instead\n",
" \n",
" nested_iters(...)\n",
" scipy.nested_iters is deprecated and will be removed in SciPy 2.0.0, use numpy.nested_iters instead\n",
" \n",
" nextafter(...)\n",
" scipy.nextafter is deprecated and will be removed in SciPy 2.0.0, use numpy.nextafter instead\n",
" \n",
" nonzero(a)\n",
" scipy.nonzero is deprecated and will be removed in SciPy 2.0.0, use numpy.nonzero instead\n",
" \n",
" not_equal(...)\n",
" scipy.not_equal is deprecated and will be removed in SciPy 2.0.0, use numpy.not_equal instead\n",
" \n",
" nper(rate, pmt, pv, fv=0, when='end')\n",
" scipy.nper is deprecated and will be removed in SciPy 2.0.0, use numpy.nper instead\n",
" \n",
" npv(rate, values)\n",
" scipy.npv is deprecated and will be removed in SciPy 2.0.0, use numpy.npv instead\n",
" \n",
" obj2sctype(rep, default=None)\n",
" scipy.obj2sctype is deprecated and will be removed in SciPy 2.0.0, use numpy.obj2sctype instead\n",
" \n",
" ones(shape, dtype=None, order='C')\n",
" scipy.ones is deprecated and will be removed in SciPy 2.0.0, use numpy.ones instead\n",
" \n",
" ones_like(a, dtype=None, order='K', subok=True, shape=None)\n",
" scipy.ones_like is deprecated and will be removed in SciPy 2.0.0, use numpy.ones_like instead\n",
" \n",
" outer(a, b, out=None)\n",
" scipy.outer is deprecated and will be removed in SciPy 2.0.0, use numpy.outer instead\n",
" \n",
" packbits(...)\n",
" scipy.packbits is deprecated and will be removed in SciPy 2.0.0, use numpy.packbits instead\n",
" \n",
" pad(array, pad_width, mode='constant', **kwargs)\n",
" scipy.pad is deprecated and will be removed in SciPy 2.0.0, use numpy.pad instead\n",
" \n",
" partition(a, kth, axis=-1, kind='introselect', order=None)\n",
" scipy.partition is deprecated and will be removed in SciPy 2.0.0, use numpy.partition instead\n",
" \n",
" percentile(a, q, axis=None, out=None, overwrite_input=False, interpolation='linear', keepdims=False)\n",
" scipy.percentile is deprecated and will be removed in SciPy 2.0.0, use numpy.percentile instead\n",
" \n",
" piecewise(x, condlist, funclist, *args, **kw)\n",
" scipy.piecewise is deprecated and will be removed in SciPy 2.0.0, use numpy.piecewise instead\n",
" \n",
" place(arr, mask, vals)\n",
" scipy.place is deprecated and will be removed in SciPy 2.0.0, use numpy.place instead\n",
" \n",
" pmt(rate, nper, pv, fv=0, when='end')\n",
" scipy.pmt is deprecated and will be removed in SciPy 2.0.0, use numpy.pmt instead\n",
" \n",
" poly(seq_of_zeros)\n",
" scipy.poly is deprecated and will be removed in SciPy 2.0.0, use numpy.poly instead\n",
" \n",
" polyadd(a1, a2)\n",
" scipy.polyadd is deprecated and will be removed in SciPy 2.0.0, use numpy.polyadd instead\n",
" \n",
" polyder(p, m=1)\n",
" scipy.polyder is deprecated and will be removed in SciPy 2.0.0, use numpy.polyder instead\n",
" \n",
" polydiv(u, v)\n",
" scipy.polydiv is deprecated and will be removed in SciPy 2.0.0, use numpy.polydiv instead\n",
" \n",
" polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False)\n",
" scipy.polyfit is deprecated and will be removed in SciPy 2.0.0, use numpy.polyfit instead\n",
" \n",
" polyint(p, m=1, k=None)\n",
" scipy.polyint is deprecated and will be removed in SciPy 2.0.0, use numpy.polyint instead\n",
" \n",
" polymul(a1, a2)\n",
" scipy.polymul is deprecated and will be removed in SciPy 2.0.0, use numpy.polymul instead\n",
" \n",
" polysub(a1, a2)\n",
" scipy.polysub is deprecated and will be removed in SciPy 2.0.0, use numpy.polysub instead\n",
" \n",
" polyval(p, x)\n",
" scipy.polyval is deprecated and will be removed in SciPy 2.0.0, use numpy.polyval instead\n",
" \n",
" positive(...)\n",
" scipy.positive is deprecated and will be removed in SciPy 2.0.0, use numpy.positive instead\n",
" \n",
" power(x, p)\n",
" scipy.power is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.power instead\n",
" \n",
" ppmt(rate, per, nper, pv, fv=0, when='end')\n",
" scipy.ppmt is deprecated and will be removed in SciPy 2.0.0, use numpy.ppmt instead\n",
" \n",
" printoptions(*args, **kwargs)\n",
" scipy.printoptions is deprecated and will be removed in SciPy 2.0.0, use numpy.printoptions instead\n",
" \n",
" prod(a, axis=None, dtype=None, out=None, keepdims=, initial=, where=)\n",
" scipy.prod is deprecated and will be removed in SciPy 2.0.0, use numpy.prod instead\n",
" \n",
" product(*args, **kwargs)\n",
" scipy.product is deprecated and will be removed in SciPy 2.0.0, use numpy.product instead\n",
" \n",
" promote_types(...)\n",
" scipy.promote_types is deprecated and will be removed in SciPy 2.0.0, use numpy.promote_types instead\n",
" \n",
" ptp(a, axis=None, out=None, keepdims=)\n",
" scipy.ptp is deprecated and will be removed in SciPy 2.0.0, use numpy.ptp instead\n",
" \n",
" put(a, ind, v, mode='raise')\n",
" scipy.put is deprecated and will be removed in SciPy 2.0.0, use numpy.put instead\n",
" \n",
" put_along_axis(arr, indices, values, axis)\n",
" scipy.put_along_axis is deprecated and will be removed in SciPy 2.0.0, use numpy.put_along_axis instead\n",
" \n",
" putmask(...)\n",
" scipy.putmask is deprecated and will be removed in SciPy 2.0.0, use numpy.putmask instead\n",
" \n",
" pv(rate, nper, pmt, fv=0, when='end')\n",
" scipy.pv is deprecated and will be removed in SciPy 2.0.0, use numpy.pv instead\n",
" \n",
" quantile(a, q, axis=None, out=None, overwrite_input=False, interpolation='linear', keepdims=False)\n",
" scipy.quantile is deprecated and will be removed in SciPy 2.0.0, use numpy.quantile instead\n",
" \n",
" rad2deg(...)\n",
" scipy.rad2deg is deprecated and will be removed in SciPy 2.0.0, use numpy.rad2deg instead\n",
" \n",
" radians(...)\n",
" scipy.radians is deprecated and will be removed in SciPy 2.0.0, use numpy.radians instead\n",
" \n",
" rand(...)\n",
" scipy.rand is deprecated and will be removed in SciPy 2.0.0, use numpy.random.rand instead\n",
" \n",
" randn(...)\n",
" scipy.randn is deprecated and will be removed in SciPy 2.0.0, use numpy.random.randn instead\n",
" \n",
" rate(nper, pmt, pv, fv, when='end', guess=None, tol=None, maxiter=100)\n",
" scipy.rate is deprecated and will be removed in SciPy 2.0.0, use numpy.rate instead\n",
" \n",
" ravel(a, order='C')\n",
" scipy.ravel is deprecated and will be removed in SciPy 2.0.0, use numpy.ravel instead\n",
" \n",
" ravel_multi_index(...)\n",
" scipy.ravel_multi_index is deprecated and will be removed in SciPy 2.0.0, use numpy.ravel_multi_index instead\n",
" \n",
" real(val)\n",
" scipy.real is deprecated and will be removed in SciPy 2.0.0, use numpy.real instead\n",
" \n",
" real_if_close(a, tol=100)\n",
" scipy.real_if_close is deprecated and will be removed in SciPy 2.0.0, use numpy.real_if_close instead\n",
" \n",
" recfromcsv(fname, **kwargs)\n",
" scipy.recfromcsv is deprecated and will be removed in SciPy 2.0.0, use numpy.recfromcsv instead\n",
" \n",
" recfromtxt(fname, **kwargs)\n",
" scipy.recfromtxt is deprecated and will be removed in SciPy 2.0.0, use numpy.recfromtxt instead\n",
" \n",
" reciprocal(...)\n",
" scipy.reciprocal is deprecated and will be removed in SciPy 2.0.0, use numpy.reciprocal instead\n",
" \n",
" remainder(...)\n",
" scipy.remainder is deprecated and will be removed in SciPy 2.0.0, use numpy.remainder instead\n",
" \n",
" repeat(a, repeats, axis=None)\n",
" scipy.repeat is deprecated and will be removed in SciPy 2.0.0, use numpy.repeat instead\n",
" \n",
" require(a, dtype=None, requirements=None)\n",
" scipy.require is deprecated and will be removed in SciPy 2.0.0, use numpy.require instead\n",
" \n",
" reshape(a, newshape, order='C')\n",
" scipy.reshape is deprecated and will be removed in SciPy 2.0.0, use numpy.reshape instead\n",
" \n",
" resize(a, new_shape)\n",
" scipy.resize is deprecated and will be removed in SciPy 2.0.0, use numpy.resize instead\n",
" \n",
" result_type(...)\n",
" scipy.result_type is deprecated and will be removed in SciPy 2.0.0, use numpy.result_type instead\n",
" \n",
" right_shift(...)\n",
" scipy.right_shift is deprecated and will be removed in SciPy 2.0.0, use numpy.right_shift instead\n",
" \n",
" rint(...)\n",
" scipy.rint is deprecated and will be removed in SciPy 2.0.0, use numpy.rint instead\n",
" \n",
" roll(a, shift, axis=None)\n",
" scipy.roll is deprecated and will be removed in SciPy 2.0.0, use numpy.roll instead\n",
" \n",
" rollaxis(a, axis, start=0)\n",
" scipy.rollaxis is deprecated and will be removed in SciPy 2.0.0, use numpy.rollaxis instead\n",
" \n",
" roots(p)\n",
" scipy.roots is deprecated and will be removed in SciPy 2.0.0, use numpy.roots instead\n",
" \n",
" rot90(m, k=1, axes=(0, 1))\n",
" scipy.rot90 is deprecated and will be removed in SciPy 2.0.0, use numpy.rot90 instead\n",
" \n",
" round_(a, decimals=0, out=None)\n",
" scipy.round_ is deprecated and will be removed in SciPy 2.0.0, use numpy.round_ instead\n",
" \n",
" row_stack = vstack(tup)\n",
" scipy.row_stack is deprecated and will be removed in SciPy 2.0.0, use numpy.row_stack instead\n",
" \n",
" safe_eval(source)\n",
" scipy.safe_eval is deprecated and will be removed in SciPy 2.0.0, use numpy.safe_eval instead\n",
" \n",
" save(file, arr, allow_pickle=True, fix_imports=True)\n",
" scipy.save is deprecated and will be removed in SciPy 2.0.0, use numpy.save instead\n",
" \n",
" savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\\n', header='', footer='', comments='# ', encoding=None)\n",
" scipy.savetxt is deprecated and will be removed in SciPy 2.0.0, use numpy.savetxt instead\n",
" \n",
" savez(file, *args, **kwds)\n",
" scipy.savez is deprecated and will be removed in SciPy 2.0.0, use numpy.savez instead\n",
" \n",
" savez_compressed(file, *args, **kwds)\n",
" scipy.savez_compressed is deprecated and will be removed in SciPy 2.0.0, use numpy.savez_compressed instead\n",
" \n",
" sctype2char(sctype)\n",
" scipy.sctype2char is deprecated and will be removed in SciPy 2.0.0, use numpy.sctype2char instead\n",
" \n",
" searchsorted(a, v, side='left', sorter=None)\n",
" scipy.searchsorted is deprecated and will be removed in SciPy 2.0.0, use numpy.searchsorted instead\n",
" \n",
" select(condlist, choicelist, default=0)\n",
" scipy.select is deprecated and will be removed in SciPy 2.0.0, use numpy.select instead\n",
" \n",
" set_numeric_ops(...)\n",
" scipy.set_numeric_ops is deprecated and will be removed in SciPy 2.0.0, use numpy.set_numeric_ops instead\n",
" \n",
" set_printoptions(precision=None, threshold=None, edgeitems=None, linewidth=None, suppress=None, nanstr=None, infstr=None, formatter=None, sign=None, floatmode=None, *, legacy=None)\n",
" scipy.set_printoptions is deprecated and will be removed in SciPy 2.0.0, use numpy.set_printoptions instead\n",
" \n",
" set_string_function(f, repr=True)\n",
" scipy.set_string_function is deprecated and will be removed in SciPy 2.0.0, use numpy.set_string_function instead\n",
" \n",
" setbufsize(size)\n",
" scipy.setbufsize is deprecated and will be removed in SciPy 2.0.0, use numpy.setbufsize instead\n",
" \n",
" setdiff1d(ar1, ar2, assume_unique=False)\n",
" scipy.setdiff1d is deprecated and will be removed in SciPy 2.0.0, use numpy.setdiff1d instead\n",
" \n",
" seterr(all=None, divide=None, over=None, under=None, invalid=None)\n",
" scipy.seterr is deprecated and will be removed in SciPy 2.0.0, use numpy.seterr instead\n",
" \n",
" seterrcall(func)\n",
" scipy.seterrcall is deprecated and will be removed in SciPy 2.0.0, use numpy.seterrcall instead\n",
" \n",
" seterrobj(...)\n",
" scipy.seterrobj is deprecated and will be removed in SciPy 2.0.0, use numpy.seterrobj instead\n",
" \n",
" setxor1d(ar1, ar2, assume_unique=False)\n",
" scipy.setxor1d is deprecated and will be removed in SciPy 2.0.0, use numpy.setxor1d instead\n",
" \n",
" shape(a)\n",
" scipy.shape is deprecated and will be removed in SciPy 2.0.0, use numpy.shape instead\n",
" \n",
" shares_memory(...)\n",
" scipy.shares_memory is deprecated and will be removed in SciPy 2.0.0, use numpy.shares_memory instead\n",
" \n",
" show_config = show()\n",
" \n",
" sign(...)\n",
" scipy.sign is deprecated and will be removed in SciPy 2.0.0, use numpy.sign instead\n",
" \n",
" signbit(...)\n",
" scipy.signbit is deprecated and will be removed in SciPy 2.0.0, use numpy.signbit instead\n",
" \n",
" sin(...)\n",
" scipy.sin is deprecated and will be removed in SciPy 2.0.0, use numpy.sin instead\n",
" \n",
" sinc(x)\n",
" scipy.sinc is deprecated and will be removed in SciPy 2.0.0, use numpy.sinc instead\n",
" \n",
" sinh(...)\n",
" scipy.sinh is deprecated and will be removed in SciPy 2.0.0, use numpy.sinh instead\n",
" \n",
" size(a, axis=None)\n",
" scipy.size is deprecated and will be removed in SciPy 2.0.0, use numpy.size instead\n",
" \n",
" sometrue(*args, **kwargs)\n",
" scipy.sometrue is deprecated and will be removed in SciPy 2.0.0, use numpy.sometrue instead\n",
" \n",
" sort(a, axis=-1, kind=None, order=None)\n",
" scipy.sort is deprecated and will be removed in SciPy 2.0.0, use numpy.sort instead\n",
" \n",
" sort_complex(a)\n",
" scipy.sort_complex is deprecated and will be removed in SciPy 2.0.0, use numpy.sort_complex instead\n",
" \n",
" source(object, output=)\n",
" scipy.source is deprecated and will be removed in SciPy 2.0.0, use numpy.source instead\n",
" \n",
" spacing(...)\n",
" scipy.spacing is deprecated and will be removed in SciPy 2.0.0, use numpy.spacing instead\n",
" \n",
" split(ary, indices_or_sections, axis=0)\n",
" scipy.split is deprecated and will be removed in SciPy 2.0.0, use numpy.split instead\n",
" \n",
" sqrt(x)\n",
" scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead\n",
" \n",
" square(...)\n",
" scipy.square is deprecated and will be removed in SciPy 2.0.0, use numpy.square instead\n",
" \n",
" squeeze(a, axis=None)\n",
" scipy.squeeze is deprecated and will be removed in SciPy 2.0.0, use numpy.squeeze instead\n",
" \n",
" stack(arrays, axis=0, out=None)\n",
" scipy.stack is deprecated and will be removed in SciPy 2.0.0, use numpy.stack instead\n",
" \n",
" std(a, axis=None, dtype=None, out=None, ddof=0, keepdims=)\n",
" scipy.std is deprecated and will be removed in SciPy 2.0.0, use numpy.std instead\n",
" \n",
" subtract(...)\n",
" scipy.subtract is deprecated and will be removed in SciPy 2.0.0, use numpy.subtract instead\n",
" \n",
" sum(a, axis=None, dtype=None, out=None, keepdims=, initial=, where=)\n",
" scipy.sum is deprecated and will be removed in SciPy 2.0.0, use numpy.sum instead\n",
" \n",
" swapaxes(a, axis1, axis2)\n",
" scipy.swapaxes is deprecated and will be removed in SciPy 2.0.0, use numpy.swapaxes instead\n",
" \n",
" take(a, indices, axis=None, out=None, mode='raise')\n",
" scipy.take is deprecated and will be removed in SciPy 2.0.0, use numpy.take instead\n",
" \n",
" take_along_axis(arr, indices, axis)\n",
" scipy.take_along_axis is deprecated and will be removed in SciPy 2.0.0, use numpy.take_along_axis instead\n",
" \n",
" tan(...)\n",
" scipy.tan is deprecated and will be removed in SciPy 2.0.0, use numpy.tan instead\n",
" \n",
" tanh(...)\n",
" scipy.tanh is deprecated and will be removed in SciPy 2.0.0, use numpy.tanh instead\n",
" \n",
" tensordot(a, b, axes=2)\n",
" scipy.tensordot is deprecated and will be removed in SciPy 2.0.0, use numpy.tensordot instead\n",
" \n",
" tile(A, reps)\n",
" scipy.tile is deprecated and will be removed in SciPy 2.0.0, use numpy.tile instead\n",
" \n",
" trace(a, offset=0, axis1=0, axis2=1, dtype=None, out=None)\n",
" scipy.trace is deprecated and will be removed in SciPy 2.0.0, use numpy.trace instead\n",
" \n",
" transpose(a, axes=None)\n",
" scipy.transpose is deprecated and will be removed in SciPy 2.0.0, use numpy.transpose instead\n",
" \n",
" trapz(y, x=None, dx=1.0, axis=-1)\n",
" scipy.trapz is deprecated and will be removed in SciPy 2.0.0, use numpy.trapz instead\n",
" \n",
" tri(N, M=None, k=0, dtype=