2018-12-04
阅读量:
767
python基本操作(二)
(4)基本的数据集特征信息
df.info()
(5)基本的数据集统计信息
print(df.describe())
(6) Print data frame in a table
将 DataFrame 输出到一张表:
print(tabulate(print_table, headers=headers))
当「print_table」是一个列表,其中列表元素还是新的列表,「headers」为表头字符串组成的列表。
(7)列出所有列的名字
df.columns






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论