I have 3 huge dataframes that have different length of values
Ex,
A         B         C         
2981     2952     1287
2759     2295     2952
1284     2235     1284
1295     1928     0887
2295     1284     1966
         1567     1928
         1287     2374
                  2846
                  2578
I want to find the common values between the three columns like this
A         B         C     Common          
2981     2952     1287     1284
2759     2295     2952     2295
1284     2235     1284
1295     1928     0887
2295     1284     1966
         1567     2295
         1287     2374
                  2846
                  2578
I tried (from here)
df1['Common'] = np.intersect1d(df1.A, np.intersect1d(df2.B, df3.C))             
but I get this error, ValueError: Length of values does not match length of index
 
    