Detail: IndexMillisecond: SelectorΒΆ

Overview: IndexMillisecond: Selector

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

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