def is_entirely_numeric(X):
"""Determines whether an entire pandas frame
is numeric in dtypes.
Parameters
----------
X : Pandas ``DataFrame`` or ``H2OFrame``, shape=(n_samples, n_features)
The dataframe to test
Returns
-------
bool
True if the entire pd.DataFrame
is numeric else False
"""
return X.shape[1] == len(get_numeric(X))
评论列表
文章目录