piper.utils.is_type¶
-
piper.utils.is_type(value, type_=<class 'str'>)[source]¶ is type is useful when determining if a dataframe column contains a certain datatype (e.g. str, int, float)
- Parameters
value – value to be checked
type – data type (e.g. str, int, float etc.)
Examples
df[df.bgexdj.apply(is_type)]
- Returns
- Return type
boolean