def select_data_type(X, kwargs):
    """
    Select columns from X through :py:meth:`pandas.DataFrame.select_dtypes`
    kwargs are keyword arguments for the method

    Args:
        X (pandas.DataFrame):  table to select from
        **kwargs (): selection arguments
    Returns:
        list: features to include
    """
    features = list(X.select_dtypes(**kwargs))
    return features