是的
dropna。请参阅http://pandas.pydata.org/pandas-
docs/stable/missing_data.html和
Dataframe.dropna文档字符串:
Definition: Dataframe.dropna(self, axis=0, how='any', thresh=None, subset=None)Docstring:Return object with labels on given axis omitted where alternately anyor all of the data are missingParameters----------axis : {0, 1}how : {'any', 'all'} any : if any NA values are present, drop that label all : if all values are NA, drop that labelthresh : int, default None int value : require that many non-NA valuessubset : array-like Labels along other axis to consider, e.g. if you are dropping rows these would be a list of columns to includeReturns-------dropped : Dataframe要运行的特定命令为:
df=df.dropna(axis=1,how='all')



