_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › File一危一所鍵

Contents

1
2 1: る螳 譟伎 所鍵
3 2: る螳 譟伎讌 所鍵, る 豢螳蠍
4 3: top n螳襷 所鍵
5 4: n螳 skip蠍


1 #

d:\pydata 襴 殊 り 螳

2 1: る螳 譟伎 所鍵 #

ex1 = pd.read_table("d:\pydata\ex1.txt", sep=",", header=0)
ex1
ex1.columns
ex1.index

3 2: る螳 譟伎讌 所鍵, る 豢螳蠍 #

覦覯1
names = ["col1", "col2"]
ex2 = pd.read_table("d:\pydata\ex2.txt", names=names, sep=",", header=None)
ex2

覦覯2
ex2 = pd.read_table("d:\pydata\ex2.txt", sep=",", header=None)
ex2.columns = ["col1", "col2"]
ex2

4 3: top n螳襷 所鍵 #

ex1 = pd.read_table("d:\pydata\ex1.txt", sep=",", header=0, nrows=2)
ex1

5 4: n螳 skip蠍 #

ex1 = pd.read_table("d:\pydata\ex1.txt", sep=",", header=0, skiprows=2)
ex1


蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

蟾讌 螻 讌蟲 豌企ゼ 視 企 蠏瑚 覓伎讌覓錫 覿螻狩.