Detail: IndexMillisecondGO: SelectorΒΆ

Overview: IndexMillisecondGO: Selector

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

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