Skip to content

Feature request: Keep trailing zeros (or disable treating columns as numbers) #19

Closed
@jankais3r

Description

@jankais3r

It would be nice if there was a switch to overwrite tabulate's smart processing of numbers. I am printing table with several columns that might contain strings that look like numbers (e.g. 8.10). If one of the rows contains a letter in such column, all is good, because tabulate assumes the whole column should be treated as a text. But when my data set does not contain a letter in that column, the strings get treated as numbers and trailing zeroes are automatically removed, which is bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions