Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.api.types.pandas_dtype

pandas.api.types.pandas_dtype(dtype)[source]

Converts input into a pandas only dtype object or a numpy dtype object.

Parameters:
dtype : object to be converted
Returns:
np.dtype or a pandas dtype
Raises:
TypeError if not a dtype
Scroll To Top