Title: C4W2 - All exercises output correct data but grader gives 0/10 on ex04, ex05, ex06
Tags: Coursera-platform, course-4, week-2
Body:
My code runs successfully and produces correct outputs, but the grader scores 0/10 on ex04 (process_metadata), ex05 (clean_text), and ex06 (reviews_product_metadata_df.head()).
The issue seems to be that my code is in the wrong cells. I noticed the grader uses the graded metadata tag to identify which cells to check. In my notebook, the cell tagged graded for ex04 was empty (pass), while my actual working code was in a different cell below it — so the grader was checking an empty cell and returning 0 lines.
Questions:
-
If code accidentally gets moved to a non-graded cell, is there any way to restore the original cell tags? Or do I need a fresh copy of the notebook?
-
For the
clean_textgraded cell (ex05) — should it contain ONLY the function definition, or should it also include the application ofclean_textto the DataFrame columns with.head()at the end? The grader expects 69 lines of output but a function definition alone produces no output. -
Is the expected column order for
process_metadataoutput:asin, description, title, price, brand, sales_category, sales_rank? And should rows withoutsalesRankbe dropped?
Any help appreciated — been stuck on this for hours.