Unexpected keyword argument for some arguments documented in to_latex #10888

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

Comments

Projects
None yet
3 participants

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

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 added this to the Next Major Release milestone Aug 22, 2015

@jreback jreback modified the milestone: 0.17.0, Next Major Release Sep 9, 2015

Contributor

jreback commented Sep 9, 2015

closed by #11011

jreback closed this Sep 9, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment