0

I have a df that looks like this:

df:

col_a  col_b
121    abc\ndef

what I am trying to achieve is:

result_df:

col_a  col_b
121    abc
       ---
       def

in a single row, with both values present in a single cell separated by a line. Is this possible?

Jlow
  • 17
  • 5

0 Answers0