[問題] 顯示df.describe()unique=1的columns名稱

作者: orange0914 (橘仔)   2019-01-17 12:58:45
各位大大好
想請問當一個df.describe()
若資料型態為'object' or 'bool'會顯示出
count
unique
top
freq
如何獲得unique = 1 的column 全部名稱
並進行drop
感謝各位大大

Links booklink

Contact Us: admin [ a t ] ucptt.com