Stock Price Prediction, Linear Regression.
df[df.columns[cols]] df X=df.drop(columns=['Close']) cols = [3] Y = df[df.columns[cols]] X.select_dtypes(include=['object']).columns Index(['Stock'], dtype='object') X['Stock'] = X['Stock'].fillna(X['Stock'].mode()[0]) 4- Data Transformation Convert categorical features to continuous features with