Good day,
Is it possible to get multi line cell output when using pandas DataFrame in a shell? I understand the whole row will have height more than 1 char, but that's what I actually want.
Example:
data = [
       {'id': 1, 't': 'very long text\ntext line 2\ntext line 3'},
       {'id': 2, 't': 'short text'}
       ]
df = pd.DataFrame(data)
df.set_index('id', inplace=True)
print(df)
and want to get output:
id                  t
1      very long text
       text line 2
       text line 3
2      short text
instead of
id t 1 very long text\ntextline 2\ntext line3 2 short text