GRAYBYTE WORDPRESS FILE MANAGER1060

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy//dtypes.py
"""
DType classes and utility (:mod:`numpy.dtypes`)
===============================================

This module is home to specific dtypes related functionality and their classes.
For more general information about dtypes, also see `numpy.dtype` and
:ref:`arrays.dtypes`.

Similar to the builtin ``types`` module, this submodule defines types (classes)
that are not widely used directly.

.. versionadded:: NumPy 1.25

    The dtypes module is new in NumPy 1.25.  Previously DType classes were
    only accessible indirectly.


DType classes
-------------

The following are the classes of the corresponding NumPy dtype instances and
NumPy scalar types.  The classes can be used in ``isinstance`` checks and can
also be instantiated or used directly.  Direct use of these classes is not
typical, since their scalar counterparts (e.g. ``np.float64``) or strings
like ``"float64"`` can be used.

.. list-table::
    :header-rows: 1

    * - Group
      - DType class

    * - Boolean
      - ``BoolDType``

    * - Bit-sized integers
      - ``Int8DType``, ``UInt8DType``, ``Int16DType``, ``UInt16DType``,
        ``Int32DType``, ``UInt32DType``, ``Int64DType``, ``UInt64DType``

    * - C-named integers (may be aliases)
      - ``ByteDType``, ``UByteDType``, ``ShortDType``, ``UShortDType``,
        ``IntDType``, ``UIntDType``, ``LongDType``, ``ULongDType``,
        ``LongLongDType``, ``ULongLongDType``

    * - Floating point
      - ``Float16DType``, ``Float32DType``, ``Float64DType``,
        ``LongDoubleDType``

    * - Complex
      - ``Complex64DType``, ``Complex128DType``, ``CLongDoubleDType``

    * - Strings
      - ``BytesDType``, ``BytesDType``

    * - Times
      - ``DateTime64DType``, ``TimeDelta64DType``

    * - Others
      - ``ObjectDType``, ``VoidDType``

"""

__all__ = []


def _add_dtype_helper(DType, alias):
    # Function to add DTypes a bit more conveniently without channeling them
    # through `numpy.core._multiarray_umath` namespace or similar.
    from numpy import dtypes

    setattr(dtypes, DType.__name__, DType)
    __all__.append(DType.__name__)

    if alias:
        alias = alias.removeprefix("numpy.dtypes.")
        setattr(dtypes, alias, DType)
        __all__.append(alias)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 25 2025 08:31:36
root / root
0755
__pycache__
--
May 15 2025 08:31:38
root / root
0755
_pyinstaller
--
May 15 2025 08:30:33
root / root
0755
_typing
--
May 15 2025 08:30:33
root / root
0755
_utils
--
May 15 2025 08:30:33
root / root
0755
array_api
--
May 15 2025 08:30:33
root / root
0755
compat
--
May 15 2025 08:30:33
root / root
0755
core
--
May 15 2025 08:30:33
root / root
0755
distutils
--
May 15 2025 08:30:33
root / root
0755
doc
--
May 15 2025 08:30:33
root / root
0755
f2py
--
May 15 2025 08:30:33
root / root
0755
fft
--
May 15 2025 08:30:33
root / root
0755
lib
--
May 15 2025 08:30:33
root / root
0755
linalg
--
May 15 2025 08:30:33
root / root
0755
ma
--
May 15 2025 08:30:33
root / root
0755
matrixlib
--
May 15 2025 08:30:33
root / root
0755
polynomial
--
May 15 2025 08:30:34
root / root
0755
random
--
May 15 2025 08:30:34
root / root
0755
testing
--
May 15 2025 08:30:34
root / root
0755
tests
--
May 15 2025 08:30:34
root / root
0755
typing
--
May 15 2025 08:30:34
root / root
0755
LICENSE.txt
44.621 KB
April 17 2025 13:10:58
root / root
0644
__config__.py
5.022 KB
April 17 2025 13:10:58
root / root
0644
__init__.cython-30.pxd
35.814 KB
April 17 2025 13:10:58
root / root
0644
__init__.pxd
34.222 KB
April 17 2025 13:10:58
root / root
0644
__init__.py
16.099 KB
April 17 2025 13:10:58
root / root
0644
__init__.pyi
150.111 KB
April 17 2025 13:10:58
root / root
0644
_distributor_init.py
0.323 KB
April 17 2025 13:10:58
root / root
0644
_globals.py
3.021 KB
April 17 2025 13:10:58
root / root
0644
_pytesttester.py
6.512 KB
April 17 2025 13:10:58
root / root
0644
_pytesttester.pyi
0.478 KB
April 17 2025 13:10:58
root / root
0644
_version.py
0.486 KB
April 17 2025 13:10:58
root / root
0644
conftest.py
4.515 KB
April 17 2025 13:10:58
root / root
0644
ctypeslib.py
16.843 KB
April 17 2025 13:10:58
root / root
0644
ctypeslib.pyi
7.785 KB
April 17 2025 13:10:58
root / root
0644
dtypes.py
2.177 KB
April 17 2025 13:10:58
root / root
0644
dtypes.pyi
1.284 KB
April 17 2025 13:10:58
root / root
0644
exceptions.py
7.167 KB
April 17 2025 13:10:58
root / root
0644
exceptions.pyi
0.586 KB
April 17 2025 13:10:58
root / root
0644
matlib.py
10.22 KB
April 17 2025 13:10:58
root / root
0644
py.typed
0 KB
April 17 2025 13:10:58
root / root
0644
setup.py
1.11 KB
April 17 2025 13:10:58
root / root
0644
version.py
0.608 KB
April 17 2025 13:10:58
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF