假設我有這個數據,import pandas as pd data = pd.DataFrame({'Id':[1,1,1,6,7],'Sales':[2,3,4,2,8]})是否有過濾器可以輸出Id相同的數據幀?請參閱下面的預期輸出: 查看完整描述