Test train split while retaining original dimension
Test train split while retaining original dimension Question: I am trying to split a pandas dataframe of size 610×9724 (610 users x 9724 movies), putting 80% of the non-null values of the dataset into training and 20% of the remaining non-null values into the test set while replacing the 20% removed values from training with …