Skip to content

Commit 1bd8d23

Browse files
committed
数据分析
1 parent 9fb46cf commit 1bd8d23

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

notes/临时笔记.数据分析.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
id: 1ep64ip4pcbcvpb46f33gm7
3+
title: 数据分析
4+
desc: ''
5+
updated: 1724657909195
6+
created: 1724657909195
7+
---
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
id: 12iq0w8gemajf991pnsj5hu
3+
title: Pandas
4+
desc: ''
5+
updated: 1724658076340
6+
created: 1724657909190
7+
---
8+
### 2024-08-26 15:38:46
9+
10+
```python
11+
import pandas as pd
12+
13+
data = {}
14+
15+
df = pd.DataFrame([data]) # dict to frame
16+
df.T # 倒置
17+
```

0 commit comments

Comments
 (0)