Hi, I don’t understand the problem with my code. Please help, Thank you!
{moderator edit: images of code removed}
Hi, I don’t understand the problem with my code. Please help, Thank you!
{moderator edit: images of code removed}
Every time you open a notebook, you have to run all of the cells that import the packages and define the data sets.
I suspect you didn’t run the cells that precede the function you’re working on.
Also, as a reminder, please do not post your code on the forum. That’s not allowed by the Code of Conduct.
You can post any error messages or asserts. But not your code itself.
I’ll edit your message to remove the code.