Timeout Error Running Your Code (Bruce)

Screen Link:
https://app.dataquest.io/m/285/frequency-distributions/6/percentiles-and-percentile-ranks

My Code:

Replace this line with your code
wnba = pd.read_csv('wnba.csv')
from scipy.stats import percentileofscore
percentile_rank_half_less = percentileofscore(wnba['Games Played'], score = 17, kind = 'weak')
percentage_half_more = 100 - percentile_rank_half_less```

What I expected to happen:


What actually happened: 
"Timeout Error Running Your Code"
![Timeout Error|690x242](upload://fY4azYCLL6oJ9JMxUG8RFn0pyvy.jpeg)

Replace this line with the output/error


<!--Enter other details below: -->
1 Like

Hi Bruce,

I’ve just tried your code, it works well now.

In case you still have that issue, try to press Restore Initial Code (to the right of the Sumbit Answer button) and then re-run your code on a cleaned screen.

Thank you Elena.
Worked this time.
Bruce

1 Like