I'm looking at the suicide DF ( https://mc.ai/studying-suicide-rates-from-1985-to-2016-prediction-using-machine-learning/ ) and I want to reshape the DF to just have one line per country.
(我正在查看自杀DF( https://mc.ai/studying-suicide-rates-from-1985-to-2016-prediction-using-machine-learning/ ),我想重塑DF以使其具有每个国家一线。)
(我可以将所有整数(每年的自杀数)相加,但我需要对其他一些值取平均值,即GDP /年,人均GDP等。有什么建议吗?)
1.4m articles
1.4m replys
5 comments
57.0k users