vault backup: 2025-07-21 18:17:57

Affected files:
.obsidian/workspace.json
0 Journal/0 Daily/2025-07-21.md
Temporary/Pandas.md
This commit is contained in:
2025-07-21 18:17:57 +02:00
parent e02590473f
commit a4e1c875f0
3 changed files with 43 additions and 12 deletions

19
Temporary/Pandas.md Normal file
View File

@@ -0,0 +1,19 @@
---
title: Pandas
created_date: 2025-07-21
updated_date: 2025-07-21
aliases:
tags:
---
# Pandas
## Stack, Unstack
Unstack converts a multi index into a column index
Stack converts a multi column into a multi index
## Melting and Pivoting
They are very specific --> you can do stack and unstack to achieve the same result
## get_dummies()
You can get categorical data (sex: male / female) into 2 columns: sex_Male (0 / 1), sex_Female (0/ 1)