Dear fellows,
I’ve reached the first Portfolio Project in Data Science and ask you for your feedback. I’ve added some story of lunar settlers insured by space insurance company just for fun.
The hardest was to scope the project, so if you would advise any interesting views on the data to consider, I would gladly update the project.
The second technical issue was to populate print() commands with names of the values, e.g.:
def bmi_costs(group):
average_costs_bmi = round(sum(group) / len(group), 2)
return average_costs_bmi
print("Average insurance expences for settlers from Normal BMI group are " + str(bmi_costs(normal)) + "$.")
print("Average insurance expences for settlers from Overweight BMI group are " + str(bmi_costs(overweight)) + "$.")
print("Average insurance expences for settlers from Obese BMI group are " + str(bmi_costs(obese)) + "$.")
print("Average insurance expences for settlers from Extremely Obese BMI group are " + str(bmi_costs(extremely_obese)) + "$.")
would you advise more elegant solution to this?
You can have a look at the full project here: my-first-projects/us-medical-insurance-costs.ipynb at c3e6358c4db1d88b7c316dced935c00f3ce711f5 · dm-lav/my-first-projects · GitHub