Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kemistep authored Jun 18, 2020
1 parent 027ed35 commit b1df72d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ SQL数据分析

## Python读取剪贴板数据
```python
## 读取剪贴板数据
import pandas as pd
df = pd.read_clipboard(sep='\t')
df.head()
## 将df数据转换成list
data =df.to_dict('records')
## 将字典列表转成成DataFrame
df_v1 = pd.DataFrame(sales)
```


Expand Down

0 comments on commit b1df72d

Please sign in to comment.