Series.os_dtypes

Series.os_dtypes

Return the OpenSearch dtypes in the index

Returns

pandas.Series

The data type of each column.

Examples

>>> from tests import OPENSEARCH_TEST_CLIENT
>>> df = oml.DataFrame(OPENSEARCH_TEST_CLIENT, 'flights', columns=['Origin', 'AvgTicketPrice', 'timestamp', 'dayOfWeek'])
>>> df.os_dtypes
Origin            keyword
AvgTicketPrice      float
timestamp            date
dayOfWeek            byte
dtype: object