Skip to content

Float are being converted to rows.fields.IntegerField #198

Description

@rhenanbartels

I am trying to create a rows.Table object from a list of dicts, but when the value 0.0 is found it automatically converts the float object to rows.field.IntegerField

In [59]: from rows.fields import detect_types
In [58]: detect_types(['field1'], [[0.0]])
Out[58]: OrderedDict([('field1', rows.fields.IntegerField)])

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions