Python pandas check if dataframe is not empty

前端 未结 4 2226
借酒劲吻你
借酒劲吻你 2021-02-11 11:55

I have an if statement where it checks if the data frame is not empty. The way I do it is the following:

if dataframe.empty:
    pass
else:
    #do          


        
4条回答
提交回复
热议问题