I have a df like:
| col1 | col2 | col3
0 | Text1 | a,b ,c | klra-tk³,t54 ?
1 | Text2 | NaN | gimbal3, gimbal4
2 | Text3 | a,k,m | NaN
I want to get a single row with all unique values of a column in a single line and NaNs ignored like:
| col1 | col2 | col3
0 | Text1, Text2, Text3 | a,b,c,k,m | klra-tk³,t54,gimbal3, gimbal4
How can I do this with pandas?