Is it possible to create a random pandas dataframe with 1500 rows to have class label 0 and 500 rows to have class label as 1.
It should be like
feature_1 class_label
sdfdsfsdfd 0
kjdkfkjdsf 0
jkkjhjknn 1
dfsfgdsfd 0
gfdgdfsdd 1
The values of feature_1 column can be anything but it's 1500 values should have label 0 and 500 values should have label 1.