I’m writing again the code, I have had formatting problems. The first is import pandas as pd df = pd.DataFrame({'text': ['foo', 'bar'],'number': [1, 2]}) dfStyler = df.style.set_properties(**{'text-align': 'center'}) dfStyler.set_table_styles([dict(selector='th', props=[('text-align', 'center')])]) The second one is df.style.hide_index().set_table_attributes("class='dataframe table-hover text-center'") ​ -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f5f5ca48-f81d-45c6-8869-101b4722fb5cn%40googlegroups.com.