Detail: SeriesHE: Attribute¶
- SeriesHE.STATIC = True¶
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.STATIC True
- SeriesHE.T¶
Transpose. For a 1D immutable container, this returns a reference to self.
- Returns
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.T <SeriesHE> <Index> a 10 b 2 c 8 <<U1> <int64>
- SeriesHE.dtype¶
Return the dtype of the underlying NumPy array.
- Returns
numpy.dtype
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.dtype int64
- SeriesHE.index¶
The index instance assigned to this container.
- Returns
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.index <Index> a b c <<U1>
- SeriesHE.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
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.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 Index 756 B 788 B 564 B 8.83 KB 812 B 588 B Values 120 B 136 B 24 B 120 B 136 B 24 B Total 940 B 988 B 652 B 9.01 KB 1012 B 676 B
- SeriesHE.mloc¶
The memory location, represented as an integer, of the underlying NumPy array.
- SeriesHE.name¶
A hashable label attached to this container.
- Returns
Hashable
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.name
- SeriesHE.nbytes¶
Return the total bytes of the underlying NumPy array.
- Returns
int
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.nbytes 24
- SeriesHE.ndim¶
Return the number of dimensions, which for a Series is always 1.
- Returns
int
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.ndim 1
- SeriesHE.shape¶
Return a tuple describing the shape of the underlying NumPy array.
- Returns
Tuple[int]
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.shape (3,)
- SeriesHE.size¶
Return the size of the underlying NumPy array.
- Returns
int
>>> s = sf.SeriesHE((10, 2, 8), index=('a', 'b', 'c')) >>> s.size 3
SeriesHE: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Assignment | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Fill Value | Accessor Regular Expression | Accessor Hashlib