I want to get common items of three columns of the dataframe.
user_id top_lang_owned top_lang_committed top_lang_watched
1 21 [ruby, javascript, go] [go, ruby] [ruby, javascript, go]
2 38 [ruby, javascript, coffeescript] [ruby, coffeescript] [ruby, javascript, go]
3 108 [ruby, shell, go] NaN [ruby, javascript, go]
4 173 [ruby, javascript, shell] [ruby, css, javascript] [ruby, javascript, css]
Desired output is;
user_id top_lang_owned top_lang_committed top_lang_watched
1 21 [ruby, go]
2 38 [ruby]
3 108 NaN
4 173 [ruby, javascript]
How can I obtain this output?