import pandas as pd data = pd.read_csv('example.csv') df = pd.DataFrame(data) # 只保留A 列中值为test 的行df = df[df.A.isin(['test'])].
確定! 回上一頁