# GRADED FUNCTION: preprocess_dataset

@mallen

your fit label encoder codes are correct

now for dataset,
see the the image

dataset given

here the labels and text were written separately in two dataset codes line but you need to write in one code line.

another difference here in this image is they have not use the recalled function from the fit encoder label which you need to use while writing the dataset codes

lambda text: mentions here first for text with it recalled function i.e. text_vectorizer and for labels with its recalled function i.e. label_encoder. You had used label instead labels.

This is direct hint, after this I have to directly give you the written code :crazy_face:

Regards
DP