Incorrect - Labels of last 5 examples

I could noy get the same label output. I got …“Labels of last 5 examples should look like this:
[‘4’, ‘4’, ‘4’, ‘4’, ‘4’]”

but the expected out put is “[1, 1, 1, 1, 1]”

the below is my script:

[code removed - moderator]

Do not use labels from the csv file directly. Here’s the instruction from the notebook:

The labels are originally encoded as strings (‘0’ representing negative and ‘4’ representing positive). You need to change this so that the labels are integers and 0 is used for representing negative, while 1 should represent positive.