Determining whether null data opened by pandas

Determining whether null array pandas

Is to use the built-in function to represent the pandas:

pd.isnull(x)

Statistics df document how many null values

df = pd.read_csv('test.csv')

df.isna().sum()

Guess you like

Origin www.cnblogs.com/houfei/p/12120964.html