網路上很多人推崇pandas,但我覺得他還是有它不方便的地方,先前要從txt檔轉pickle檔pandas就沒有什麼方法可以直接查找,還是要做一次轉手.
今天在畫圖的時候,發現pandas 在cuffkinks上面是非常好用沒錯,但是如果我要用plotly而不是cufflinks的話就不是那麼方便了
至少就我目前還不會啦...
至少就我目前還不會啦...
所以我只能將pandas 轉 array (順便也附帶如果要轉list的方法)
df = pd.DataFrame(np.random.randn(50,1))
# 轉array:
df[
0
].as_matrix()
# 轉list:
df[
'0'
].values.tolist()
這封郵件來自 Evernote。Evernote 是您專屬的工作空間,免費下載 Evernote |
Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
回覆刪除Best PHP Training Institute in Chennai|PHP Course in chennai
Best .Net Training Institute in Chennai
Oracle DBA Training in Chennai
RPA Training in Chennai
UIpath Training in Chennai