logo

... smoking: smoking is good



Notes

It seems such a strange conclusion.

(clean_df
  .groupby(['smokes'])
  .agg(prob=('alive', np.mean)))

Or can you figure out what went wrong here?

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.