eland.Series.shapeΒΆ

Series.shapeΒΆ

Return a tuple representing the dimensionality of the Series.

Returns
shape: tuple
  1. number of rows
  2. number of columns

Notes

  • number of rows len(series) queries Elasticsearch

  • number of columns == 1

Examples

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