openml.datasets.attributes_arff_from_df

openml.datasets.attributes_arff_from_df(df)

Describe attributes of the dataframe according to ARFF specification.

Parameters
dfDataFrame, shape (n_samples, n_features)

The dataframe containing the data set.

Returns
attributes_arffstr

The data set attributes as required by the ARFF format.