eland.DataFrame.shape#
- property DataFrame.shape: Tuple[int, int]#
Return a tuple representing the dimensionality of the DataFrame.
Returns#
shape: tuple
number of rows
number of columns
Notes#
number of rows
len(df)
queries Elasticsearchnumber of columns
len(df.columns)
is cached. If mappings are updated, DataFrame must be updated.
Examples#
>>> df = ed.DataFrame('http://localhost:9200', 'ecommerce') >>> df.shape (4675, 45)