+ 2
What's wrong with the code?
We have to solve this problem using numpy. It's showing error everytime. How to solve the problem? https://code.sololearn.com/c62bN3PBHy89/?ref=app
3 Respuestas
+ 2
The first problem is that the list comprehension needs a value (or expression) before the keyword for. Additionally, I'm thinking that "within one standard deviation" would include the values that are +/- one standard deviation from the mean. Though it may not make a difference statistically, in practice it may give a different result.
+ 2
Thanks all for ur replies. But finally, i solved it right. !✌🏻
https://code.sololearn.com/cu8efqFfC72k/?ref=app