Series.shape
- Series.shape
Return a tuple representing the dimensionality of the Series.
Returns
shape: tuple
number of rows
number of columns
Notes
number of rows
len(series)
queries OpenSearchnumber of columns == 1
Examples
>>> from tests import OPENSEARCH_TEST_CLIENT
>>> df = oml.Series(OPENSEARCH_TEST_CLIENT, 'ecommerce', name='total_quantity') >>> df.shape (4675, 1)