Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Header option for to_latex #15536
Comments
jorisvandenbossche
added the
IO LaTeX
label
Mar 1, 2017
|
Currently, the PRs to add this are welcome! |
|
I can try to solve the bug, but I would consider myself still a python noob compared to you guys. But anyway: |
jreback
added this to the
0.20.0
milestone
Mar 7, 2017
jreback
added the
Enhancement
label
Mar 7, 2017
jorisvandenbossche
closed this
in #15548
Mar 9, 2017
jorisvandenbossche
added a commit
that referenced
this issue
Mar 9, 2017
|
|
mcocdawc + jorisvandenbossche |
ae0a92a
|
AnkurDedania
added a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
|
|
mcocdawc + AnkurDedania |
250dc8d
|
mcocdawc commentedMar 1, 2017
•
edited
Code Sample, a copy-pastable example if possible
Problem description
The header option of
to_latexdoes not rename the columns as in other exporting functions and forces to rename them before.I am not sure if this is a bug or intended.
But it is counterintuitive (at least for me) and makes code harder to read.
Expected Output
Output of
pd.show_versions()pandas: 0.18.1
nose: 1.3.7
pip: 9.0.1
setuptools: 23.0.0
Cython: 0.24
numpy: 1.11.2
scipy: 0.17.1
statsmodels: None
xarray: None
IPython: 4.2.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: 1.1.0
tables: 3.2.2
numexpr: 2.6.0
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.2
lxml: 3.6.0
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.40.0
pandas_datareader: None