Skip to main content
100%

wine_load

✓ Published0🌍 Public
Aadiamaan92
Last edited Jan 27, 2019
Created on Jan 27, 2019

This example visualizes the Wine Recognition dataset, showing the first few rows of the feature matrix as a tabular preview. The code loads the dataset using `load_wine()` from scikit-learn, then constructs a pandas DataFrame with `data.data` and `data.feature_names` as columns. The rendering displays the resulting `wine.head()` table, which shows the first five samples with their numerical attributes such as alcohol content and malic acid. The visualization relies on pandas' default DataFrame display formatting to present the data in a structured grid, making the dataset’s structure and feature values immediately visible.

AI-generated description

Similar vizzes