eland.Series.index#
- property Series.index: Index#
Return eland index referencing Elasticsearch field to index a DataFrame/Series
Returns#
- eland.Index:
Note eland.Index has a very limited API compared to pandas.Index
See Also#
Examples#
>>> df = ed.DataFrame('http://localhost:9200', 'flights') >>> assert isinstance(df.index, ed.Index) >>> df.index.es_index_field '_id' >>> s = df['Carrier'] >>> assert isinstance(s.index, ed.Index) >>> s.index.es_index_field '_id'