Statistical analysis with evidence (in Python)

Hi, I've been given a dataset(dataframe) with n=1335 (population) with a column of smokers and charges. So the question here is 'do charges of people who smoke differ significantly from the people who don't?'. How am I to proceed with this? By hypothesis rule? Please guide me.


Active Member
generate a scatter plot to start, thats always good. After that select stats method to match what the plot says. For statistical rigor you are required to maintain the pretense that the hypothesis was not based on the data. Are you using 'Pandas'? Can't say ive used it in a while.