Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected keyword argument for some arguments documented in to_latex #10888

Closed
gsmafra opened this issue Aug 22, 2015 · 2 comments
Closed

Unexpected keyword argument for some arguments documented in to_latex #10888

gsmafra opened this issue Aug 22, 2015 · 2 comments
Labels
Milestone

Comments

@gsmafra
Copy link

gsmafra commented Aug 22, 2015

To reproduce the errors:

import pandas as pd

names = ['Bob','Jessica','Mary','John','Mel']
births = [968, 155, 77, 578, 973]
BabyDataSet = zip(names, births)
df = pd.DataFrame(data=BabyDataSet, columns=['Names', 'Births'])

Any of these will yield a TypeError:

print df.to_latex(frame=None)
print df.to_latex(force_unicode=False)
print df.to_latex(justify='left')

I assume this is a problem with documentation and that these arguments are deprecated

@jreback
Copy link
Contributor

jreback commented Aug 22, 2015

this is using the same doc-string formatter as to_html and to_string. So needs to be refactored to add args to the other methods separately.

pull-requests welcome.

@jreback jreback added this to the Next Major Release milestone Aug 22, 2015
@jorisvandenbossche jorisvandenbossche added the IO LaTeX to_latex label Aug 22, 2015
@jreback jreback modified the milestones: 0.17.0, Next Major Release Sep 9, 2015
@jreback
Copy link
Contributor

jreback commented Sep 9, 2015

closed by #11011

@jreback jreback closed this as completed Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants