Skip to content

Bug: Many to Many relational keys converts to floats. #93

@hyzyla

Description

@hyzyla

I have model Status and Station, that have many to many relations.
Following command:

read_frame(Status.objects.values('id', 'stations__id'), verbose=False)

returns:

   id  stations__id
0   1           NaN
1   2           NaN
2   3           1.0
3   3           2.0
4   3           3.0
5   4           4.0
6   4           5.0
7   4           6.0

Keys must be integers, not floats. It seems like null converts all values in a column into floats.

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