clarite.describe.get_types¶
-
clarite.describe.
get_types
(data: pandas.core.frame.DataFrame)¶ Return the type of each variable
Parameters: - data: pd.DataFrame
The DataFrame to be described
Returns: - result: pd.Series
Series listing the CLARITE type for each variable
Examples
>>> import clarite >>> clarite.describe.get_types(df).head() RIDAGEYR continuous female binary black binary mexican binary other_hispanic binary dtype: object