Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn = "winequality-white.csv"
- df = pd.read_csv(fn, delimiter=';')
- print(df.head())
- print(df.info())
- print(df['quality'])
- X = df.drop(columns='quality') # crash, also with X = df.drop('quality')
- y = df["quality"]
Add Comment
Please, Sign In to add comment