pandas兩列數(shù)據(jù)合并 pythonpandas中兩個列的數(shù)值不能進行對比嗎?
pythonpandas中兩個列的數(shù)值不能進行對比嗎?導入熊貓為pddf=pd.數(shù)據(jù)幀(您的數(shù)據(jù),列=[“IP”,“Mac1”,“mac2”])結(jié)果=DF[DF[“Mac1”]==DF[“mac2”同
pythonpandas中兩個列的數(shù)值不能進行對比嗎?
導入熊貓為pddf=pd.數(shù)據(jù)幀(您的數(shù)據(jù),列=[“IP”,“Mac1”,“mac2”])結(jié)果=DF[DF[“Mac1”]==DF[“mac2”
同樣,!=,>,