Created
July 5, 2022 16:14
-
-
Save andrea-dagostino/eba2850bbf1f78ddb39f62e2b824feeb to your computer and use it in GitHub Desktop.
edaita
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # carichiamo il dataset | |
| wine = load_wine() | |
| # convertiamo il dataset in un dataframe Pandas | |
| df = pd.DataFrame(data=wine.data, columns=wine.feature_names) | |
| # creiamo la colonna per il target | |
| df["target"] = wine.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment