pandas 空df对象判断

不能使用is None,bool这些来判断,

df = pd.DataFrame([])
data.empty True

posted @ 2021-01-05 18:57  π=3.1415926  阅读(791)  评论(0编辑  收藏  举报