摘要:
df.to_dict()里面参数可选(‘dict’, ‘list’, ‘series’, ‘split’, ‘records’, ‘index’) df = pd.DataFrame({'col1': [1, 2], 'col2': [0.5, 0.75]}, index=['row1', 'row 阅读全文
posted @ 2022-10-19 16:26 心默默言 阅读(127) 评论(0) 推荐(0) 编辑
|
|||
摘要:
df.to_dict()里面参数可选(‘dict’, ‘list’, ‘series’, ‘split’, ‘records’, ‘index’) df = pd.DataFrame({'col1': [1, 2], 'col2': [0.5, 0.75]}, index=['row1', 'row 阅读全文
posted @ 2022-10-19 16:26 心默默言 阅读(127) 评论(0) 推荐(0) 编辑 |
|||