enter image description here在给定列中检查特定值的分布,如天气确切多云的次数。请随意检查其他值。您可以通过使用相应的参数调用clear函数来检查它。#Importing the modulesimport numpy as np containing the value counts of
SZ 24.042762603109.SH NaN
df = pd.DataFrameonly use .str accessor with string values (i.e. inferred_type is 'string', 'unicode' or 'mixed') 这是因为我的列表中有一个我不想删除包含NaN的行,只是将它们留在那里