在熊貓手冊中,有一個關於索引的例子: In [653]: criterion = df2['a'].map(lambda x: x.startswith('t')) In [654]: df2[criterion] 然後韋斯寫道:
確定! 回上一頁