Created
July 6, 2022 13:27
-
-
Save andrea-dagostino/e843b4c9809d02eb4b8d2b50e6c38d90 to your computer and use it in GitHub Desktop.
edaeng
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