Skip to content

Commit 0346b2b

Browse files
author
Mofan Zhou
committed
create pd 15
1 parent 2cdcf07 commit 0346b2b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

numpy&pandas/15_read_to.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# View more python tutorials on my Youtube and Youku channel!!!
2+
3+
# Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg
4+
# Youku video tutorial: http://i.youku.com/pythontutorial
5+
6+
import pandas as pd
7+
8+
# read from
9+
data = pd.read_csv('student.csv')
10+
print(data)
11+
12+
# save to
13+
data.to_pickle('student.pickle')

0 commit comments

Comments
 (0)