Skip to content

Instantly share code, notes, and snippets.

@Dviejopomata Dviejopomata/
Last active Apr 9, 2019

What would you like to do?
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
from scipy.cluster.hierarchy import dendrogram, linkage
from sklearn import datasets
import seaborn as sns
%matplotlib inline
df = pd.read_csv("./pec1/small.csv")
features = [i for i in df.columns if i not in ["CLASS"]]
new_df = (df[features] - df[features].mean()) / df[features].std(ddof=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.