Detail: IndexYearMonthGO: Attribute¶
Overview: IndexYearMonthGO: Attribute
- IndexYearMonthGO.STATIC = False¶
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.STATIC False
- IndexYearMonthGO.depth = 1¶
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.depth 1
- IndexYearMonthGO.dtype¶
Return the dtype of the underlying NumPy array.
- Returns:
numpy.dtype
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.dtype datetime64[M]
- IndexYearMonthGO.index_types¶
Return a Series of Index classes for each index depth.
- Returns:
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.index_types <Series> <Index> None <IndexYearMonthGO> <object> <object>
- IndexYearMonthGO.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.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> 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 440 B 440 B 440 B 440 B 440 B 440 B Labels 120 B 136 B 24 B 120 B 136 B 24 B Positions 96 B 112 B 0 B 8.19 KB 136 B 24 B Total 1.07 KB 1.11 KB 908 B 9.17 KB 1.13 KB 932 B
- IndexYearMonthGO.mloc¶
The memory location, represented as an integer, of the underlying NumPy array.
- IndexYearMonthGO.name¶
A hashable label attached to this container.
- Returns:
Hashable
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.name
- IndexYearMonthGO.names¶
Provide a suitable iterable of names for usage in output formats that require a field name as string for the index.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.names ('__index0__',)
- IndexYearMonthGO.nbytes¶
Return the total bytes of the underlying NumPy array.
- Returns:
int
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.nbytes 24
- IndexYearMonthGO.ndim¶
Return the number of dimensions.
- Returns:
int
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.ndim 1
- IndexYearMonthGO.positions¶
Return the immutable positions array.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.positions [0 1 2]
- IndexYearMonthGO.shape¶
Return a tuple describing the shape of the underlying NumPy array.
- Returns:
tp.Tuple[int]
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.shape (3,)
- IndexYearMonthGO.size¶
Return the size of the underlying NumPy array.
- Returns:
int
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix.size 3
IndexYearMonthGO: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib