Skip to content

Instantly share code, notes, and snippets.

@peeush-agarwal
Created March 14, 2022 17:19
Show Gist options
  • Save peeush-agarwal/b5387612b5e28bd160f9998ecb423bb8 to your computer and use it in GitHub Desktop.
Save peeush-agarwal/b5387612b5e28bd160f9998ecb423bb8 to your computer and use it in GitHub Desktop.
PCA: load wine data into the dataframe
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.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment