feat(ds-2.2, 2e)

This commit is contained in:
2025-10-31 12:17:30 +03:00
parent 6b6ac94483
commit d5bf47ddd5
16 changed files with 210543 additions and 1959 deletions

View File

@ -490,7 +490,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "0772c391-4ad6-4fcc-8754-97b575bca1c5",
"metadata": {},
"outputs": [
@ -512,7 +512,10 @@
}
],
"source": [
"df[['county', 'age']].groupby('county')['age']\\\n",
"group = df[['county', 'age']].groupby('county').agg([pl.max().alias('max'), pl.min()])\n",
"min = group.min()\n",
"max = group.max()\n",
"['age']\\\n",
" .mean()\\\n",
" .sort_values(ascending=False)\\\n",
" .head()"