Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from sklearn.preprocessing import StandardScaler
column_names = ['Open', 'High', 'Low', 'Last', 'Close', 'Total Trade Quantity', 'Turnover (Lacs)']
X_hitech = df_hitech.loc[:, column_names].values
X_bhagyanagar = df_bhagyanar.loc[:, column_names].values
X_hudco = df_hudco.loc[:, column_names].values
X = np.concatenate([X_hitech, X_bhagyanagar, X_hudco], axis=0)
X_std = StandardScaler().fit_transform(X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment