Detail: IndexYearGO: Selector

Overview: IndexYearGO: Selector

IndexYearGO.drop.iloc[key]
IndexYearGO.drop
InterfaceSelectDuo.iloc
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.drop.iloc[1]
<IndexYearGO>
1517
1518
<datetime64[Y]>
>>> ix.drop.iloc[1:]
<IndexYearGO>
1517
<datetime64[Y]>
>>> ix.drop.iloc[[0, 2]]
<IndexYearGO>
1520
<datetime64[Y]>
IndexYearGO.drop.loc[key]
IndexYearGO.drop
InterfaceSelectDuo.loc
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.drop.loc['1518']
<IndexYearGO>
1517
1520
<datetime64[Y]>
>>> ix.drop.loc['1518':]
<IndexYearGO>
1517
1520
<datetime64[Y]>
IndexYearGO[key]()
IndexYearGO.__getitem__ = <function Index.__getitem__>
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix[1]
1520
>>> ix[1:]
<IndexYearGO>
1520
1518
<datetime64[Y]>
>>> ix[[0, 2]]
<IndexYearGO>
1517
1518
<datetime64[Y]>
IndexYearGO.iloc[key]
iloc
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.iloc[1]
1520
>>> ix.iloc[1:]
<IndexYearGO>
1520
1518
<datetime64[Y]>
>>> ix.iloc[[0, 2]]
<IndexYearGO>
1517
1518
<datetime64[Y]>
IndexYearGO.loc[key]
loc
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.loc['1518']
1518
>>> ix.loc['1518':]
<IndexYearGO>
1518
<datetime64[Y]>

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