Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: serialize Pandas NaN values into LineProtocol#648

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bednar merged 4 commits intomasterfromnan-values
Apr 16, 2024
Merged

Conversation

bednar
Copy link
Contributor

@bednarbednar commentedApr 2, 2024
edited
Loading

Closes#590

Proposed Changes

Fixed serialisation Pandas NaN values into LineProtocol.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • pytest tests completes successfully
  • Commit messages areconventional
  • SignCLA (if not already signed)

@bednarbednar requested a review fromkarel-rehorApril 2, 2024 12:21
@bednarbednar marked this pull request as ready for reviewApril 2, 2024 12:22
@@ -20,7 +20,8 @@ def _itertuples(data_frame):


def _not_nan(x):
return x == x
from ...extras import pd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I see this same import occurs on line 91. Wouldn't it be more efficient to import this once at the head of the file?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@karel-rehor, nice catch! Thank you 👍. I've uploaded the fixed version.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.41%. Comparing base(a645ea9) to head(1afb72e).

❗ Your organization needs to install theCodecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@##           master     #648      +/-   ##==========================================- Coverage   90.42%   90.41%   -0.02%==========================================  Files          39       39                Lines        3509     3505       -4     ==========================================- Hits         3173     3169       -4  Misses        336      336

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

Copy link
Contributor

@karel-rehorkarel-rehor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Tests pass. One small issue updated. Everything else looks OK.

@bednarbednar merged commite2cb42e intomasterApr 16, 2024
@bednarbednar deleted the nan-values branchApril 16, 2024 06:01
@bednarbednar added this to the1.42.0 milestoneApr 16, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@karel-rehorkarel-rehorkarel-rehor approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
1.42.0
Development

Successfully merging this pull request may close these issues.

WriteApi.write does not support pandas' nullable integer
3 participants
@bednar@codecov-commenter@karel-rehor

[8]ページ先頭

©2009-2025 Movatter.jp