I have two series s1
and s2
in pandas and want to compute the intersection i.e. where all of the values of the series are common.
How would I use the concat
function to do this? I have been trying to work it out but have been unable to (I don't want to compute the intersection on the indices of s1
and s2
, but on the values).