mt.pandas.dftype

Functions

mt.pandas.dftype.isnull(obj)
mt.pandas.dftype.get_dftype(s)

Detects the dftype of the series.

Determine whether a series is an ndarray series, a sparse ndarray series, an Image series or a normal series.

Parameters:

s (pandas.Series) – the series to investigate

Returns:

the type of the series. If it is a normal series, the string representing the dtype attribute of the series is returned

Return type:

{‘json’, ‘ndarray’, ‘SparseNdarray’, ‘Image’, ‘str’, ‘Timestamp’,’Timedelta’, ‘object’, ‘none’, etc}