We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
influxdb-client-python/influxdb_client/client/write/point.py
Line 112 in ab18935
one column of my dataframe is based on numpy.int64.
isinstance(value, int) will not capture it.
type(value) Out[4]: numpy.int64 isinstance(value, int) Out[5]: False
related to this one
numpy/numpy#2951
which suggest to use isinstance(..., np.integer)
The text was updated successfully, but these errors were encountered:
Hi @tonylee2016,
thanks for using our client.
The PR #97 covers your requirements. As a workaround you could use a version from #97 via:
pip install git+https://github.com/influxdata/influxdb-client-python.git@feat/dataframe-optimalization
Regards
Sorry, something went wrong.
The issue is fixed in 1.8.0 milestone.
If you would like to use a dev version then install client via:
pip install git+https://github.com/influxdata/influxdb-client-python.git@master
Successfully merging a pull request may close this issue.
influxdb-client-python/influxdb_client/client/write/point.py
Line 112 in ab18935
one column of my dataframe is based on numpy.int64.
isinstance(value, int) will not capture it.
type(value)
Out[4]: numpy.int64
isinstance(value, int)
Out[5]: False
related to this one
numpy/numpy#2951
which suggest to use isinstance(..., np.integer)
The text was updated successfully, but these errors were encountered: