Detail: IndexDateGO: Selector

Overview: IndexDateGO: Selector

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

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