Detail: IndexYearMonth: SelectorΒΆ

Overview: IndexYearMonth: Selector

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

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