Data analysis-data cleaning and sorting

Insert picture description here

5. Data cleaning and sorting

1. Data cleaning

-(1) Dealing with missing values

- 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

Guess you like

Origin blog.csdn.net/MasterCayman/article/details/109459330