Re: Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread MRAB
On 2020-06-06 10:34, Caledonian26 wrote: On Saturday, June 6, 2020 at 10:29:46 AM UTC+1, Chris Angelico wrote: On Sat, Jun 6, 2020 at 7:26 PM Caledonian26 wrote: > *However,* I keep getting the error: IndexError: list index out of range. Could anyone give me a helping hand as to where I am goi

Re: Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread Caledonian26
On Saturday, June 6, 2020 at 10:29:46 AM UTC+1, Chris Angelico wrote: > On Sat, Jun 6, 2020 at 7:26 PM Caledonian26 wrote: > > *However,* I keep getting the error: IndexError: list index out of range. > > Could anyone give me a helping hand as to where I am going wrong? Am I on > > the right lin

Re: Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread Chris Angelico
On Sat, Jun 6, 2020 at 7:26 PM Caledonian26 wrote: > *However,* I keep getting the error: IndexError: list index out of range. > Could anyone give me a helping hand as to where I am going wrong? Am I on the > right lines? > Python always gives you a wealth of information with an exception. Most

Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread Caledonian26
Hey all, I have the following code below: import pandas as pd import numpy as np from scipy import stats np.random.seed(12345) scores = [np.random.normal(32000,20,3650).mean(), np.random.normal(43000,10,3650).mean(),np.random.normal(43500,14,3650).mean(), np.random.normal(