EADST

Pandas Dataframe Column to List

Convert Column to List from Pandas Dataframe

df = pd.DataFrame({'A':[1,3,5,7], 'B':[2,4,6,8]})
df["A"].tolist()
df.A.values.tolist()

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文266篇,共被浏览440744

本站已经建立2019天!

热门文章
文章归档
回到顶部