C4W1 UNQ_C6 padded_with_batch reshape error

This is probably stupid, but I am getting an error when calculating the padding_with_batch variable – it says “ValueError: cannot reshape array of size 3 into shape (1,2).” I am converting the padded list to a numpy array, and then reshaping it to (1, padded_length). Is that wrong?

Have a look on this link and try a few of them:

Thank you! Great advice and I got that sweet, sweet “all tests passed” message shortly afterward =)