Skip to content
This repository was archived by the owner on Jul 20, 2021. It is now read-only.

Function show_F got an error in return #315

@danilotat

Description

@danilotat

return tabulate.tabulate(rows, headers=col_headers, tablefmt='html')

While using this code, you'll get an Attribute error:
AttributeError: 'function' object has no attribute 'tabulate'

That's because the function tabulate got a syntax like:
tabulate(object, attributes)

So the right way is to replace with:
return tabulate(rows, headers=col_headers, tablefmt='html')
This will lay to no error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions