数据分析-数据清理与整理

在这里插入图片描述

5.数据清洗与整理

1.数据清洗

- (1)处理缺失值

- 1.侦查缺失值
	- df.isnull()

		- True的为缺失值

	- df.notnull()

		- False为缺失值

	- df.info

		- 查看dataframe字段信息
	  from pandas import Series,DataFrame
	  import pandas as pd
	  import numpy as np
	  %matplotlib inline
	  df1 = DataFrame

猜你喜欢

转载自blog.csdn.net/MasterCayman/article/details/109459330
今日推荐