DataCheck.
validate
Inspects and validates the input data, runs any necessary calculations or algorithms, and returns a list of warnings and errors if applicable.
X (pd.DataFrame) – the input data of shape [n_samples, n_features]
y (pd.Series, optional) – the target data of length [n_samples]
list of DataCheckError and DataCheckWarning objects
list (DataCheckMessage)