I want to get values out of quotes only. The rest should be NaN.
I have dataframe like this:
Col A Col B Col C
b'Ford' b'VW' b''
b'' b'VW' b''
b'' b'' b'BMW'
B'Ford' b'' b''
and i want output like this:
desired output:
Col A Col B Col C
Ford VW NaN
NaN VW NaN
NaN NaN BMW
Ford NaN NaN