Time to split by yourself!

Report a typo

Load sklearn dataset from the topic by running the following line of code:

from sklearn.datasets import load_wine

Now, make a train-test split in such a way that there are 25 rows in the test set. When performing the split, set random_state = 100. What is the sum of the ash column in the test set?

State a number as an answer.

Tip: You can use pandas.Series.sum() to calculate the sum of a column.

Enter a number
___

Create a free account to access the full topic