Detail: IndexHour: Selector

Overview: IndexHour: Selector

IndexHour.drop.iloc[key]
IndexHour.drop
InterfaceSelectDuo.iloc
>>> ix = sf.IndexHour(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHour>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.drop.iloc[1]
<IndexHour>
1517-04-01T00
1517-06-30T00
<datetime64[h]>
>>> ix.drop.iloc[1:]
<IndexHour>
1517-04-01T00
<datetime64[h]>
>>> ix.drop.iloc[[0, 2]]
<IndexHour>
1517-12-31T00
<datetime64[h]>
IndexHour.drop.loc[key]
IndexHour.drop
InterfaceSelectDuo.loc
>>> ix = sf.IndexHour(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHour>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.drop.loc['1517-06-30']
<IndexHour>
1517-04-01T00
1517-12-31T00
<datetime64[h]>
>>> ix.drop.loc['1517-06-30':]
<IndexHour>
1517-04-01T00
1517-12-31T00
<datetime64[h]>
IndexHour[key]()
IndexHour.__getitem__ = <function Index.__getitem__>
>>> ix = sf.IndexHour(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHour>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix[1]
1517-12-31T00
>>> ix[1:]
<IndexHour>
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix[[0, 2]]
<IndexHour>
1517-04-01T00
1517-06-30T00
<datetime64[h]>
IndexHour.iloc[key]
iloc
>>> ix = sf.IndexHour(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHour>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.iloc[1]
1517-12-31T00
>>> ix.iloc[1:]
<IndexHour>
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.iloc[[0, 2]]
<IndexHour>
1517-04-01T00
1517-06-30T00
<datetime64[h]>
IndexHour.loc[key]
loc
>>> ix = sf.IndexHour(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexHour>
1517-04-01T00
1517-12-31T00
1517-06-30T00
<datetime64[h]>
>>> ix.loc['1517-06-30']
<IndexHour>
1517-06-30T00
<datetime64[h]>
>>> ix.loc['1517-06-30':]
<IndexHour>
1517-06-30T00
<datetime64[h]>

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