Detail: IndexHourGO: Selector

Overview: IndexHourGO: Selector

IndexHourGO.drop.iloc[key]
IndexHourGO.drop
InterfaceSelectDuo.iloc
>>> ix = sf.IndexHourGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHourGO>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.drop.iloc[1]
<IndexHourGO>
1517-04-01T00
1517-06-30T00
<datetime64[h]>
>>> ix.drop.iloc[1:]
<IndexHourGO>
1517-04-01T00
<datetime64[h]>
>>> ix.drop.iloc[[0, 2]]
<IndexHourGO>
1517-12-31T00
<datetime64[h]>
IndexHourGO.drop.loc[key]
IndexHourGO.drop
InterfaceSelectDuo.loc
>>> ix = sf.IndexHourGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHourGO>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.drop.loc['1517-06-30']
<IndexHourGO>
1517-04-01T00
1517-12-31T00
<datetime64[h]>
>>> ix.drop.loc['1517-06-30':]
<IndexHourGO>
1517-04-01T00
1517-12-31T00
<datetime64[h]>
IndexHourGO[key]()
IndexHourGO.__getitem__ = <function Index.__getitem__>
>>> ix = sf.IndexHourGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHourGO>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix[1]
1517-12-31T00
>>> ix[1:]
<IndexHourGO>
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix[[0, 2]]
<IndexHourGO>
1517-04-01T00
1517-06-30T00
<datetime64[h]>
IndexHourGO.iloc[key]
iloc
>>> ix = sf.IndexHourGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHourGO>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.iloc[1]
1517-12-31T00
>>> ix.iloc[1:]
<IndexHourGO>
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.iloc[[0, 2]]
<IndexHourGO>
1517-04-01T00
1517-06-30T00
<datetime64[h]>
IndexHourGO.loc[key]
loc
>>> ix = sf.IndexHourGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHourGO>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.loc['1517-06-30']
<IndexHourGO>
1517-06-30T00
<datetime64[h]>
>>> ix.loc['1517-06-30':]
<IndexHourGO>
1517-06-30T00
<datetime64[h]>

IndexHourGO: 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