logo
Loading...

quantile_all = [np.percentile(app_train[~app_train['AMT_ANNUITY'].isnull()] ['AMT_ANNUITY'], q = i) for i in q_all]問題? - Cupoy

quantile_all = [np.percentile(app_train[~app_train...

ml100-2,語法,ml100-2-d07

quantile_all = [np.percentile(app_train[~app_train['AMT_ANNUITY'].isnull()] ['AMT_ANNUITY'], q = i) for i in q_all]問題?

2019/04/24 09:47 下午
機器學習共學討論版
季子翔
觀看數:1
回答數:2
收藏數:0
ml100-2
語法
ml100-2-d07

quantile_all = [np.percentile(app_train[~app_train['AMT_ANNUITY'].isnull()]['AMT_ANNUITY'], q = i) for i in q_all]

專家你好 ,上面這條[~app_train['AMT_ANNUITY'].isnull()]代表不是空的值     

那那條之後的['AMT_ANNUITY']這樣接起來是什麼意思呢?  謝謝