Detail: IndexYearGO: Attribute

Overview: IndexYearGO: Attribute

IndexYearGO.STATIC = False
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.STATIC
False
IndexYearGO.depth = 1
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.depth
1
IndexYearGO.dtype

Return the dtype of the underlying NumPy array.

Returns:

numpy.dtype

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.dtype
datetime64[Y]
IndexYearGO.index_types

Return a Series of Index classes for each index depth.

Returns:

Series

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.index_types
<Series>
<Index>
None     <IndexYearGO>
<object> <object>
IndexYearGO.memory

Return a MemoryDisplay, providing the size in memory of this object. For compound containers, component sizes will also be provided. Size can be interpreted through six combinations of three configurations:

L: Local: memory ignoring referenced array data provided via views. LM: Local Materialized: memory where arrays that are locally owned report their byte payload LMD: Local Materialized Data: locally owned memory of arrays byte payloads, excluding all other components

R: Referenced: memory including referenced array data provided via views RM: Referenced Materialized: memory where arrays that are locally owned or referenced report their byte payload RMD: Referenced Materialized Data: localy owned and referenced array byte payloads, excluding all other components

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.memory
          L    Lu    LM   LMu   LMD LMDu  R    Ru    RM  RMu   RMD RMDu
Name      16   B     16   B     16  B     16   B     16  B     16  B
Map       472  B     472  B     472 B     472  B     472 B     472 B
Labels    136  B     152  B     24  B     136  B     152 B     24  B
Positions 112  B     128  B     0   B     8.22 KB    152 B     24  B
Total     1.14 KB    1.17 KB    944 B     9.25 KB    1.2 KB    968 B
IndexYearGO.mloc

The memory location, represented as an integer, of the underlying NumPy array.

IndexYearGO.name

A hashable label attached to this container.

Returns:

Hashable

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.name
IndexYearGO.names

Provide a suitable iterable of names for usage in output formats that require a field name as string for the index.

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.names
('__index0__',)
IndexYearGO.nbytes

Return the total bytes of the underlying NumPy array.

Returns:

int

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.nbytes
24
IndexYearGO.ndim

Return the number of dimensions.

Returns:

int

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.ndim
1
IndexYearGO.positions

Return the immutable positions array.

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.positions
[0 1 2]
IndexYearGO.shape

Return a tuple describing the shape of the underlying NumPy array.

Returns:

tp.Tuple[int]

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.shape
(3,)
IndexYearGO.size

Return the size of the underlying NumPy array.

Returns:

int

>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix.size
3

IndexYearGO: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic