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

Expose user-facing versions of CSV.writerow #1003

Merged
merged 1 commit into from May 6, 2022
Merged

Expose user-facing versions of CSV.writerow #1003

merged 1 commit into from May 6, 2022

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented May 5, 2022

Implements #1001. We already had the internal methods here, so this PR just adds some higher-level user-facing methods that take a plain "row" (from the Tables.jl "Row" interface) or an io and row. This is convenient when you don't have a traditional iterator (and can use RowWriter), but just want to repeatedly call CSV.writerow yourself and get the delimited output.

cc: @sairus7

Implements #1001. We already had the internal methods here, so this PR just adds some higher-level user-facing methods that take a plain "row" (from the Tables.jl "Row" interface) or an `io` and row. This is convenient when you don't have a traditional iterator (and can use RowWriter), but just want to repeatedly call `CSV.writerow` yourself and get the delimited output.
@codecov
Copy link

codecov bot commented May 5, 2022

Codecov Report

Merging #1003 (3277747) into main (3ebd2c9) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1003      +/-   ##
==========================================
+ Coverage   89.80%   89.91%   +0.10%     
==========================================
  Files           9        9              
  Lines        2227     2250      +23     
==========================================
+ Hits         2000     2023      +23     
  Misses        227      227              
Impacted Files Coverage Δ
src/write.jl 85.51% <100.00%> (+0.99%) ⬆️

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 3ebd2c9...3277747. Read the comment docs.

@quinnj quinnj merged commit 0217552 into main May 6, 2022
@quinnj quinnj deleted the jq/writerow branch May 6, 2022 05:48
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.

None yet

1 participant