I am trying to export the entire dataset into tex file. Specifically, I am looking for something equivalent to below Python pandas syntax. So it formats all the floats into percentage and print out until second decimal. NaN values are printed out with "-" sign and all the symbols including percentage sign are printed with backslash.
Is it possible to do this using `esttab`? Or requires some other packages?
Thanks in advance.
Code:
data.to_latex(escape=True, float_format = '{:.2%}'.format, column_format = 'lccc', na_rep= '-')
Thanks in advance.
Comment