I need to display a pandas dataframe in a Stack Overflow question body. I have already tried to display copying and pasting in a block of code but got completely unreadable.
This is result I got:
id text top_class class_name confidence
8988 20809_451291030_17944026 ainda nao recebi minha senha 1001 1001 0.976569
8989 20810_459751030_18018215 ainda nao recebi minha senha 1001 1001 0.976569
9009 20810_455341030_17968671 ainda nao recebi a senha 1001 1001 0.971450
9010 20810_455341030_17968671 ainda nao recebi a senha 1001 14008 0.011035
9011 20809_458715030_18010104 ainda nao recebi a senha 1001 1001 0.971450
I want to display my dataframe similar to the following.
How can I achieve this result on a question?
python