Closed
Description
Is your feature request related to a problem?
I wish pandas's to_latex() function could create table* environment instead of table for wide tables. The generated table sometimes does not fit into one column of a two column document.
Describe the solution you'd like
A parameter where one can define the name of the environment. E.g. df.to_latex(env="foobar*")
to generate: \begin{foobar*} table stuff here \end{foobar*}
.
API breaking implications
One more parameter.
Describe alternatives you've considered
Write a code, which replaces begin{table} and end{table} to the desired environment. (table* in most of the cases)