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