8.11.2024

This commit is contained in:
2024-11-08 13:23:30 +01:00
parent 02cabe1ce3
commit d1ed0d370b
9 changed files with 5574 additions and 3735 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -233,11 +233,23 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "NameError",
"evalue": "name 'titanic' is not defined",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[1;32mIn[1], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m agg_df \u001b[38;5;241m=\u001b[39m \u001b[43mtitanic\u001b[49m\u001b[38;5;241m.\u001b[39magg([\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcount\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msize\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnunique\u001b[39m\u001b[38;5;124m'\u001b[39m])\n",
"\u001b[1;31mNameError\u001b[0m: name 'titanic' is not defined"
]
}
],
"source": [
"agg_df = titanic.agg(['count', 'size', 'nunique'])"
"agg_df = titanic.agg(['age: count', 'size', 'nunique'])"
]
},
{

File diff suppressed because one or more lines are too long