Skip to content

adler32 output interpreted as float number #1

@jwackito

Description

@jwackito

Hi people. I'm having problems tabulating some adler32 strings. This should be interpreted as hexadecimal numbers or strings. But when the adler32 is NeN or NEN as in file1 example, the output is automatically interpreted as a number. There is no way to force the interpretation of the field as string or to bypass the string to number automatic conversion...

>>> t = [['file1', '12335e61'], ['file2', '00d0006d'], ['file3', '00d2006e']]
>>> print tabulate(t)
-----  --------
file1  12335e61
file2  00d0006d
file3  00d2006e
-----  --------

but

>>> t = [['file1', '12335e61']]
>>> print tabulate(t)
-----  ----------
file1  1.2335e+65
-----  ----------

which is not consistent.

Kind regards,
J.

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