import pandas as pd idx1 = pd.Index([1, 2, 3, 4]) idx2 = pd.Index([3, 4, 5, 6]) print( idx1.difference(idx2) ) # Int64Index([1, 2], dtype='int64')
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT