Detail: IndexSecondGO: SelectorΒΆ

Overview: IndexSecondGO: Selector

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

IndexSecondGO: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib