eland.Series.dtypes#

property Series.dtypes: Series#

Return the pandas dtypes in the DataFrame. Elasticsearch types are mapped to pandas dtypes via Mappings._es_dtype_to_pd_dtype.__doc__

Returns#

pandas.Series

The data type of each column.

See Also#

pandas.DataFrame.dtypes

Examples#

>>> df = ed.DataFrame('http://localhost:9200', 'flights', columns=['Origin', 'AvgTicketPrice', 'timestamp', 'dayOfWeek'])
>>> df.dtypes
Origin                    object
AvgTicketPrice           float64
timestamp         datetime64[ns]
dayOfWeek                  int64
dtype: object