Detail: IndexYearMonth: Selector
Overview: IndexYearMonth: Selector
- IndexYearMonth.drop.iloc[key]
- IndexYearMonth.drop
- InterfaceSelectDuo.iloc
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonth> 1517-04 1517-12 1517-06 <datetime64[M]> >>> 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 <IndexYearMonth> 1517-04 1517-12 1517-06 <datetime64[M]> >>> 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 <IndexYearMonth> 1517-04 1517-12 1517-06 <datetime64[M]> >>> 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]
- iloc
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonth> 1517-04 1517-12 1517-06 <datetime64[M]> >>> 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]
- loc
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonth> 1517-04 1517-12 1517-06 <datetime64[M]> >>> 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 | Accessor Type Clinic