Series

Constructor

Series([client, index_pattern, name, …])

pandas.Series like API that proxies into Elasticsearch index(es).

Attributes and underlying data

Axes

Series.index

Return eland index referencing Elasticsearch field to index a DataFrame/Series

Series.shape

Return a tuple representing the dimensionality of the Series.

Series.name

Series.empty

Determines if the Series is empty.

Indexing, iteration

Series.head(self[, n])

Series.tail(self[, n])

Binary operator functions

Series.add(self, right)

Return addition of series and right, element-wise (binary operator add).

Series.sub(self, right)

Return subtraction of series and right, element-wise (binary operator sub).

Series.mul(self, right)

Return multiplication of series and right, element-wise (binary operator mul).

Series.div(self, right)

Return floating division of series and right, element-wise (binary operator truediv).

Series.truediv(self, right)

Return floating division of series and right, element-wise (binary operator truediv).

Series.floordiv(self, right)

Return integer division of series and right, element-wise (binary operator floordiv //).

Series.mod(self, right)

Return modulo of series and right, element-wise (binary operator mod %).

Series.pow(self, right)

Return exponential power of series and right, element-wise (binary operator pow).

Series.radd(self, left)

Return addition of series and left, element-wise (binary operator add).

Series.rsub(self, left)

Return subtraction of series and left, element-wise (binary operator sub).

Series.rmul(self, left)

Return multiplication of series and left, element-wise (binary operator mul).

Series.rdiv(self, left)

Return division of series and left, element-wise (binary operator div).

Series.rtruediv(self, left)

Return division of series and left, element-wise (binary operator div).

Series.rfloordiv(self, left)

Return integer division of series and left, element-wise (binary operator floordiv //).

Series.rmod(self, left)

Return modulo of series and left, element-wise (binary operator mod %).

Series.rpow(self, left)

Return exponential power of series and left, element-wise (binary operator pow).

Computations / descriptive stats

Series.describe(self)

Generate descriptive statistics that summarize the central tendency, dispersion and shape of a dataset’s distribution, excluding NaN values.

Series.max(self[, numeric_only])

Return the maximum of the Series values

Series.mean(self[, numeric_only])

Return the mean of the Series values

Series.min(self[, numeric_only])

Return the minimum of the Series values

Series.sum(self[, numeric_only])

Return the sum of the Series values

Series.nunique(self)

Return the sum of the Series values

Series.value_counts(self[, es_size])

Return the value counts for the specified field.

Reindexing / selection / label manipulation

Series.rename(self, new_name)

Rename name of series.

Plotting

Series.hist(self[, by, ax, grid, …])

Draw histogram of the input series using matplotlib.

Serialization / IO / conversion

Series.to_string(self[, buf, na_rep, …])

Render a string representation of the Series.

Series.to_numpy(self)

Not implemented.

Elasticsearch utilities

Series.info_es(self)