Skip to content
New issue

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

fix: serialize numpy floats #254

Merged
merged 3 commits into from
May 19, 2021
Merged

fix: serialize numpy floats #254

merged 3 commits into from
May 19, 2021

Conversation

bednar
Copy link
Contributor

@bednar bednar commented May 13, 2021

Closes #252

Proposed Changes

Fixed serializing numpy float types into Line Protocol.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • pytest tests completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented May 13, 2021

Codecov Report

Merging #254 (0e6978a) into master (bccc2b8) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #254   +/-   ##
=======================================
  Coverage   91.93%   91.93%           
=======================================
  Files          25       25           
  Lines        2033     2033           
=======================================
  Hits         1869     1869           
  Misses        164      164           
Impacted Files Coverage Δ
...fluxdb_client/client/write/dataframe_serializer.py 98.66% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bccc2b8...0e6978a. Read the comment docs.

@bednar bednar merged commit a421a6f into master May 19, 2021
@bednar bednar deleted the fix/serialize-np-floats branch May 19, 2021 11:41
@bednar bednar added this to the 1.18.0 milestone May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field type is set to string when writing float32 type from Pandas DataFrame
3 participants