阅读背景:

将列表转换并重新整形为Pandas中的DataFrame

来源:互联网 

How do I convert a list(x) into a 10x3 dataframe ? I want to use the first 3 entries in the list for column names. The next three entries go in row 1, the three after that go in row 2, and so on. In other words my dataframe would be 3 columns with these three names 'Phase','Formula','Sat Indx'. Then the row 1 entries would be Calcite, CaCO3, .8409.How do I convert a list(x) into a 10x3 datafram




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: