C2W1 assignment - There was a problem compiling the code from your notebook

Hi everyone!
Basically, I am unable to get any grade for the 1st assignment of the course 2. For example, in the first exercise the code is as simple as that:

START CODE HERE

train_stats = tfdv.generate_statistics_from_dataframe(train_df, stats_options)

END CODE HERE

And I am quite sure that it’s correct. But the message I get says “There was a problem compiling the code from your notebook. Details:
‘NoneType’ object has no attribute ‘feature’”.
I already checked the metadata and refreshed the notebook - didn’t help.
Please advise me, what else can be done?

1 Like

Please check notebook metadata and refresh the workspace if required / in doubt. If that doesn’t help, click my name and message your notebook as an attachment.

I am encountering same problem. I have tried suggested steps and not working. Please assist.

1 Like

Please click my name and message your notebook as an attachment.

Please place the tag like this:

# grader-required-cell

### START CODE HERE
train_stats = # your code
# grade-up-to-here
### END CODE HERE