if print(df['稅別'] == '一般稅額') df2 = df[df['稅別'] == '一般稅額'] print(df[df['稅別'] == '一般稅額']) Doc navigation← 繪圖-中文if 文字轉數字 →