Detail: IndexMinuteGO: Constructor
Overview: IndexMinuteGO: Constructor
- IndexMinuteGO.__init__(labels, *, loc_is_iloc=False, name=<object object>)
Initializer.
- Parameters:
labels – Iterable of hashable values to be used as the index labels. If strings, NumPy datetime conversions will be applied.
name – A hashable object to label the container.
>>> sf.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30')) <IndexMinuteGO> 1517-04-01T00:00 1517-12-01T00:00 1517-06-30T00:00 <datetime64[m]>
- classmethod IndexMinuteGO.from_labels(labels, *, name=None)
Construct an
Index
from an iterable of labels, where each label is a hashable. Provided for a compatible interface toIndexHierarchy
.>>> sf.IndexMinuteGO.from_labels(('1517-04-01', '1517-12', '1517-06-30')) <IndexMinuteGO> 1517-04-01T00:00 1517-12-01T00:00 1517-06-30T00:00 <datetime64[m]>
- classmethod IndexMinuteGO.from_pandas(value)
Given a Pandas index, return the appropriate IndexBase derived class.
>>> ix = pd.Index(('1517-04-01', '1517-12', '1517-06-30')) >>> sf.IndexMinuteGO.from_pandas(ix) <IndexGO> 1517-04-01 1517-12 1517-06-30 <object>
IndexMinuteGO: 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