+ 1

Need help with Python for Finance code Repo 24.2

https://code.sololearn.com/c02rb6V4Q8tz/?ref=app I tried to run this code, but I got an error "nameError name 'mean' is not defined how canI fix this?

21st Mar 2022, 6:35 AM
Stacey Prahl
Stacey Prahl - avatar
2 odpowiedzi
+ 3
It's np.mean not np,mean (remove the comma)
21st Mar 2022, 6:39 AM
JOKER
JOKER - avatar
+ 1
it worked, TY!
21st Mar 2022, 6:49 AM
Stacey Prahl
Stacey Prahl - avatar