学习笔记(4):Python数据分析与挖掘-找出最适合你的那些数(一)

    科技2022-08-31  98

    立即学习:https://edu.csdn.net/course/play/6861/326759?utm_source=blogtoedu

    数据出来之后 怎么查看呢

    shouxin.shape---展示的是行列,数据规模

    shouxin.colume---展示的变量名,列名称

    shouxin.dtypes---展示的是数据类型

    shouxin.total_credit_line=shouxin.total_credit_line.astype(int)---转换成int整型

    使用完成的时候把桥梁关闭

    bridge.close()

    sec_buildings.describe()---统计描述

    默认对数值类型进行统计描述

    sec_buildings.describe(include=‘object’)

    Processed: 0.008, SQL: 9