eland.Series.shape#

Series.shape#

Return a tuple representing the dimensionality of the Series.

shape: tuple

  1. number of rows

  2. number of columns

  • number of rows len(series) queries Elasticsearch

  • number of columns == 1

>>> df = ed.Series('http://localhost:9200', 'ecommerce', name='total_quantity')
>>> df.shape
(4675, 1)