报错如下

TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely

解决办法

将 np.isnan 换成 pd.isna

posted on 2021-07-23 15:18  jaysonteng  阅读(523)  评论(0)    收藏  举报