Question: Use python pandas please~ zuU rows 6 columns Question 2: /7 pts Split the data into train and test for the outcome/response and the predictor
Use python pandas please~

zuU rows 6 columns Question 2: /7 pts Split the data into train and test for the outcome/response and the predictor variables. Hold out 25% of observations as the test set. Pass random_state to train_test_split to ensure you get the same train and tests sets as the solution. Your dependent variable in the the dataset is named as Drug . How many patients who take "DrugY" in the train dataset and test dataset, respectively? \# Question 2 code bere. HDor't use the "Drug as a feature H6 pts correct code YOUR ANSWER HERE: [1pt]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
