作法上,我們會先宣告一個dict,再透過pandas的replace來處理。 dict = {'label':{'True':1,'False':0}} # label = column name ata.replace(dict ...
確定! 回上一頁