cudf.DataFrame.dtypes#
- property DataFrame.dtypes#
Return the dtypes in this object.
- Returns
- pandas.Series
The data type of each column.
Examples
>>> import cudf >>> import pandas as pd >>> df = cudf.DataFrame({'float': [1.0], ... 'int': [1], ... 'datetime': [pd.Timestamp('20180310')], ... 'string': ['foo']}) >>> df float int datetime string 0 1.0 1 2018-03-10 foo >>> df.dtypes float float64 int int64 datetime datetime64[us] string object dtype: object