Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

DataframeClient returns int64 data for a float field #665

Closed
@lovasoa

Description

@lovasoa

When a measurement in influxdb happens to have only round values in a float field, it is returned by the DataframeClient with an int64 dtype (instead of float64).

I would expect float fields to be returned as float64 columns in the returned dataframe, independently of their value.

Here is a notebook session that illustrates the bug:

image

influx_client_bug.ipynb.zip

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