Created
June 2, 2018 20:03
-
-
Save davestroud/8d6da3978fa6cd9e49a49469bc409869 to your computer and use it in GitHub Desktop.
PCA
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
import pandas as pd | |
df_wine = pd.read_csv('https://archive.ics.uci.edu/ml/' | |
'machine-learning-databases/wine/wine.data', | |
header=None) | |
df_wine.columns = ['Class label', 'Alcohol', 'Malic acid', 'Ash', | |
'Alcalinity of ash', 'Magnesium', 'Total phenols', | |
'Flavanoids', 'Nonflavanoid phenols', 'Proanthocyanins', | |
'Color intensity', 'Hue', | |
'OD280/OD315 of diluted wines', 'Proline'] | |
df_wine.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment