I have got the problem, that after splitting my data into training and test data one class is totally missing in my test set.
Example on 60/40 split: <br/>
Training: 'Orange', 0,0,0, 'Orange' <br/>
Testdata: 0,0,0,0,0
Obviously the word "orange" is not included in the test set. How can one ensure that the split is considering that at least some target samples are included in the test set as well as in the training set? I thought the stratify parameter would do this, but unfortunately does not it.

train_test_splitwithstratifyinput argument is the way to go. See my answer for an example - seralouk