Detail: IndexYearMonthGO: Selector

Overview: IndexYearMonthGO: Selector

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

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