How can i have equal no
Thank you for reaching out.
Since I see only very little of your code, I can't, unfortunately, tell the reason this error occurs. What I can suggest is that you download the source code from the resources complementing this course and compare the code in 'MultinomialNB_YouTube-with-code.ipynb' with the one you have.
Once you're sure your code aligns with the one provided, restart the kernel of your notebook and run the code anew.
Let me know if you still experience issues.