I have a general problem in Python: I have a dataframe with some information about a population, for example age, gender and the "group of profession" (I work for an insurance). What I generally want to do is to simulate the development of this poulation. That means I want to simulate how much people will die, how much people will be invalid and so on. I also have some probability for the death and invalidity for every age. Has someone an idea how to do this? Is it better to do it with dataframes or something else?