-
Notifications
You must be signed in to change notification settings - Fork 12
/
internal.rst
50 lines (34 loc) · 1.42 KB
/
internal.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
============
Internal API
============
These classes are only intended for internal use in ndindex. They shouldn't
relied on as they may be removed or changed.
Note that the documentation for methods on ndindex classes will sometimes link
to this page because the methods are defined on the on the
:class:`~.ImmutableObject`, :class:`~.NDIndex`, or :class:`~.ArrayIndex` base
classes. These classes are not designed to be used directly. Such methods are
present on all `ndindex classes <index-types.rst>`_, which are what should be
actually be constructed. Remember that the primary entry-point API for
constructing ndindex index classes is the :func:`~.ndindex` function.
Base Classes
============
.. autoclass:: ndindex.ndindex.ImmutableObject
:members:
.. autoclass:: ndindex.ndindex.NDIndex
:members:
:inherited-members:
.. autoclass:: ndindex.array.ArrayIndex
:members:
:exclude-members: dtype
.. autoattribute:: dtype
:annotation: Subclasses should redefine this
Other Internal Functions
========================
.. autoclass:: ndindex.slice.default
.. autofunction:: ndindex.ndindex.operator_index
.. autofunction:: ndindex.shapetools.asshape
.. autofunction:: ndindex.shapetools.ncycles
.. autofunction:: ndindex.shapetools.associated_axis
.. autofunction:: ndindex.shapetools.remove_indices
.. autofunction:: ndindex.shapetools.unremove_indices
.. autofunction:: ndindex.shapetools.normalize_skip_axes