Skip to content

Unexpected keyword argument for some arguments documented in to_latex #10888

Closed
@gsmafra

Description

@gsmafra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions