Detail: IndexYear: SelectorΒΆ

Overview: IndexYear: Selector

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

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